How to force the use of gnu-binutils?

Markus Werle markus@lufmech.rwth-aachen.de
Tue Sep 19 06:55:00 GMT 2000


Hi!

Compiling with g++ on hpux requires the use of hp ld.
Unfortunately ld calls /usr/ccs/bin/nm which dies
running my code

[... cutting of some compiling ..]
[... cutting off linker call ... ]
collect2: /usr/ccs/bin/nm returned 11 exit status
gmake: *** [/work/markus/OBJECTS/test2.exe] Error 1
.../src > which g++
/work/markus/egcs-XX-2/bin/g++ (yesterday's cvs bullshit)
.../src > which as
/work/markus/opt/binutils-000918/bin/as
.../src > which nm
/work/markus/opt/binutils-000918/bin/nm
.../src > echo $NM
/work/markus/opt/binutils-000918/bin/nm


How can I force the use of my own nm?


Thanks, Markus




More information about the Gcc-help mailing list