This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Question about gcc + binutils builds



Greetings,
I recently built gcc + binutils on HPUX 11.00. Both builds had the same
--prefix arguments. After the installation, I noticed that gcc wasn't
using the 'nm' out of it's private path. A coworker of mine familiar
with gcc builds told me that binutils need to be installed with a 'g'
prefix for gcc to find them in it's bin area and use them. I haven't
seen this documented anywhere, and wanted to confirm this. Also, does
the gcc build query for these binaries during build time and decide
which one to use, or does it look for a 'gnm' on the fly (eg: privite
bin directory, then PATH env variable)?

I noticed on HPUX 11.00, I had to link <prefix>/bin/gnm
to /usr/bin/nm for gcc to work for more involved builds.
I was using the 1.10 binutils though.  Maybe a snap shot
would actually work.

Thanks much,

-Rob



-- 
#include <sig.h>
------------------------------------------------------------------
Robert Nesius             rnesius@ichips.intel.com    503.712.2181
DPG Engineering Computing SW Applications Team


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