[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Allow configuration of tcc libraries search path
From: |
grischka |
Subject: |
Re: [Tinycc-devel] Allow configuration of tcc libraries search path |
Date: |
Sun, 10 Jul 2011 18:05:57 +0200 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
Thomas Preud'homme wrote:
I wrote the code yesterday. Please take a look. Still missing is the handling
of elf_interp but this must be added anyway without this option.
Well, to me the better patches are those that make the code smaller
rather than bigger ;)
As I understand it is possible to support multilib without any special
code in tcc. Without CONFIG_TCC_MULTILIB_SUBDIR, AFF_MULTILIB,
CONFIG_TCC_EXTRA_LDDIR, CONFIG_TCC_INCSUBDIR, just without anything
"MULTI_EXTRA_SUB" whatsoever.
Do you think that is possible?
By the way, is this normal that only X86_64 ld.so uses CONFIG_TCC_LDDIR or
does the other ld.so also lack the use of this macro?
Likely lack:
$ git checkout release_0_9_25 tccelf.c
/* name of ELF interpreter */
#if defined __FreeBSD__
static char elf_interp[] = "/usr/libexec/ld-elf.so.1";
#elif defined TCC_ARM_EABI
static char elf_interp[] = "/lib/ld-linux.so.3";
#elif defined(TCC_TARGET_X86_64)
static char elf_interp[] = "/lib/ld-linux-x86-64.so.2";
#elif defined(TCC_UCLIBC)
static char elf_interp[] = "/lib/ld-uClibc.so.0";
#else
static char elf_interp[] = "/lib/ld-linux.so.2";
#endif
--- grischka
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, (continued)
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/07
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/07
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/07
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, grischka, 2011/07/07
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/08
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/08
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, grischka, 2011/07/09
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/10
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path,
grischka <=
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/11
- Re: [Tinycc-devel] Allow configuration of tcc libraries search path, grischka, 2011/07/11
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Rob Landley, 2011/07/08
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, grischka, 2011/07/09
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Ivo van Poorten, 2011/07/11
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Rob Landley, 2011/07/11
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, grischka, 2011/07/12
Re: [Tinycc-devel] Allow configuration of tcc libraries search path, Thomas Preud'homme, 2011/07/08