This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Workaround for current gcc problem


>>>>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]