This is the mail archive of the gcc@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: Build error


On Fri, 3 Jan 2003, Pedro Manuel Augusto wrote:
> /usr/local/sparc-sun-solaris2.7/bin/ld:libgcc/./libgcc.map: file format
> not recognized; treating as linker script

You've configured for Sun btools, but gcc is finding and using binutils.
Either get rid of binutils, or configure gcc for it:

$srcdir/configure ... --with-as=$prefix/bin/as --with-ld=$prefix/bin/ld
--with-gnu-as --with-gnu-ld

Jeff


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