x86_64: fix --with-libgcc and simplify biarch paths

This commit is contained in:
Henry Kroll III
2010-11-25 02:57:19 -08:00
parent 9036c18170
commit f1c9f649da
3 changed files with 8 additions and 15 deletions

3
tcc.h
View File

@ -140,10 +140,13 @@ typedef int BOOL;
/* path to find crt1.o, crti.o and crtn.o. Only needed when generating
executables or dlls */
#if defined(TCC_TARGET_X86_64_CENTOS)
# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib64"
# define CONFIG_TCC_LDDIR "/lib64"
#else
# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib"
# define CONFIG_TCC_LDDIR "/lib"
#endif
#define INCLUDE_STACK_SIZE 32