./x86_64-win-tcc -vv Before elfinterp: /lib64/ld-linux-x86-64.so.2 After elfinterp: - This output is identical to the output of the i386-win-tcc
Unified · Split
| @@ -265,14 +265,14 @@ · 264 unmodified lines | ||
| 265 | 265 | # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2" |
| 266 | 266 | # elif defined __GNU__ |
| 267 | 267 | # define CONFIG_TCC_ELFINTERP "/lib/ld.so" |
| 268 | +# elif defined(TCC_TARGET_PE) | |
| 269 | +# define CONFIG_TCC_ELFINTERP "-" | |
| 270 | +# elif defined(TCC_UCLIBC) | |
| 271 | +# define CONFIG_TCC_ELFINTERP "/lib/ld-uClibc.so.0" /* is there a uClibc for x86_64 ? */ | |
| 268 | 272 | # elif defined TCC_TARGET_ARM64 |
| 269 | 273 | # define CONFIG_TCC_ELFINTERP "/lib/ld-linux-aarch64.so.1" |
| 270 | 274 | # elif defined(TCC_TARGET_X86_64) |
| 271 | 275 | # define CONFIG_TCC_ELFINTERP "/lib64/ld-linux-x86-64.so.2" |
| 272 | −# elif defined(TCC_UCLIBC) | |
| 273 | −# define CONFIG_TCC_ELFINTERP "/lib/ld-uClibc.so.0" | |
| 274 | −# elif defined(TCC_TARGET_PE) | |
| 275 | −# define CONFIG_TCC_ELFINTERP "-" | |
| 276 | 276 | # elif !defined(TCC_ARM_EABI) |
| 277 | 277 | # define CONFIG_TCC_ELFINTERP "/lib/ld-linux.so.2" |
| 278 | 278 | # endif |