Workaround for current gcc problem

Andreas Jaeger aj@suse.de
Mon Nov 20 01:00:00 GMT 2000


>>>>> Jakub Jelinek writes:

Jakub> Isn't it better to use
Jakub> echo "i.86-.*-linux.* ld=ld-linux.so.2" | gcc -E -undef -x assembler-with-cpp -
Jakub> Works with all of:
Jakub> gcc 2.95.2
Jakub> RH gcc 2.96
Jakub> CVS gcc 2.97

Jakub> The language of the i.86-.*-linux.* string is definitely not C...

Neil advised to use -lang-asm but that gave a warning message with
2.95.2:
gcc: -lang-asm: linker input file unused since linking not done

But -x assembler-with-cpp works also,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-alpha mailing list