This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

RE: gcc 3.2 for SunOS 2.8 bug


Todd,

I had the same problem. I got around it by passing some extra options to the
gcc 3.2 configure script. Here is how I configured:

../gcc-3.2/configure --with-as=/usr/share/devenvs/gcc32/bin/as --with-gnu-as
--with-ld=/usr/share/devenvs/gcc32/bin/ld --with-gnu-ld

Note that /usr/share/devenvs/gcc32/bin is where the binaries for binutils
2.13 are installed.

The reason you have to do --with-ld and --with-as is that configure does not
search your PATH variable for ld and as, it looks in predefined system
directories. So the ld that does not recognize the map file is the one that
came with your Sun system. See http://gcc.gnu.org/install/configure.html for
more explanation on this.

Douglas Richardson.

-----Original Message-----
From: Todd Matthews [mailto:todd@ssreng.com]
Sent: Tuesday, September 17, 2002 10:47
To: bug-gcc@gnu.org
Subject: gcc 3.2 for SunOS 2.8 bug


gcc 3.2 for SunOS sparc 2.8 will not build with binutils 2.12, or 2.13.
Ld does not recognize the format of a .map file.


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