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]

RE: Problem when compiling GCC 3.0 in Solaris 2.6


Hi,
	Thanks again for the reply. I did use the binutils-2.11.1 for
building GCC 3.0. The configuration options that I have given are as
follows, also I modified the configure.in of GCC 3.0, so that all the
languages are enabled.

% mkdir _objdir_
% cd _objdir_
% ../configure --prefix=/tmp/dkarthik/gnu \
                      --enable-shared \
	          --enable-threads=posix \
	          --enable-languages=all \
	          --with-gnu-as=/tmp/dkarthik/gnu/bin/as \
                      --with-gnu-ld=/tmp/dkarthik/gnu/bin/ld
% make -j 2 bootstrap

and got the following error.

/tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map: file format not
recognized; treating as linker script
/tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map:1: parse error
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: *** Waiting for unfinished jobs....

Earlier I have configured binutils-2.11.1, without any specific option,

% configure --prefix=/tmp/dkarthik/gnu \
	       --enable-shared

and rest everything went through fine for binutils.

Thanks and Regards,
Karthik
________________________________________________
Karthikeyan M D		* +91-40-340 8600 x8422

> -----Original Message-----
> From:	Alexandre Oliva [SMTP:aoliva@redhat.com]
> Sent:	Thursday, June 21, 2001 2:14
> To:	Karthikeyan M. D
> Cc:	gcc-help@gcc.gnu.org
> Subject:	Re: Problem when compiling GCC 3.0 in Solaris 2.6
> 
> On Jun 19, 2001, "Karthikeyan M. D" <dkarthik@wilco-int.com> wrote:
> 
> > /tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map: file format
> not
> > recognized; treating as linker script
> > /tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map:1: parse error
> 
> What's there in this file?  Are you 100% sure GCC is using GNU ld
> 2.11.1 (try /tmp/dkarthik/gnu/sparc-sun-solaris2.6/bin/ld --version)
> 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me


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