public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compile from ss 120301
@ 2001-12-05 13:00 Mauro Baquero
       [not found] ` <20011209202045.A23227@disaster.jaj.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Baquero @ 2001-12-05 13:00 UTC (permalink / raw)
  To: Gcc Bugs, Gcc Help

I am trying to compile a snapshot from 12/03/01 and it fails.  I am =
running on solaris 7 with gcc 3.0.2 release package installed.

When I run the make command, I get the following error:


/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc.map: file format not =
recognized; treating as linker script

/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc.map:1: parse error

collect2: ld returned 1 exit status

make[2]:  *** [libgcc_s.so] Error 1



Has anyone seen these errors and know of a workaround?

Any help would be appreciated.

Thanks

-----------------------------------------
Mauro Baquero
WAVE Corporation
320 Crown Oak Centre Dr
Longwood, FL  32750
mbaquero@wavecorp.com
407-830-9283 (Voice)
407-830-4899 (Fax)
http://www.wavecorp.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile from ss 120301
       [not found] ` <20011209202045.A23227@disaster.jaj.com>
@ 2001-12-10  7:11   ` Mauro Baquero
  2001-12-10 20:28     ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Baquero @ 2001-12-10  7:11 UTC (permalink / raw)
  To: Phil Edwards; +Cc: Gcc Help

I didn't configure GCC to compile in any specific way.  I just ran the
configure script and then make.  Should have I have set some parameters for
using the GNU binutils instead of SUN's?

If so, what parameter can I pass to configure so that I force it to use the
GNU binutils?

Thanks for your help.

Kind regards,
Mauro

----- Original Message -----
From: "Phil Edwards" <pedwards@disaster.jaj.com>
To: "Mauro Baquero" <mbaquero>
Sent: Sunday, December 09, 2001 8:20 PM
Subject: Re: compile from ss 120301


> On Wed, Dec 05, 2001 at 04:02:56PM -0500, Mauro Baquero wrote:
> > /usr/local/sparc-sun-solaris2.7/bin/ld:libgcc.map: file format not =
> > recognized; treating as linker script
>
> This usually happens when GNU binutils ('ar', 'as', 'ld', etc) and Sun
> binutils are mixed up.  You didn't specify how you configured the GCC
build,
> but it's almost certain that you specified one type and the build process
> found the other type.
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile from ss 120301
  2001-12-10  7:11   ` Mauro Baquero
@ 2001-12-10 20:28     ` Andrea 'Fyre Wyzard' Bocci
  2001-12-12  6:16       ` Mauro Baquero
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2001-12-10 20:28 UTC (permalink / raw)
  To: Mauro Baquero, Phil Edwards; +Cc: Gcc Help

At 10.13 10/12/2001 (GMT -0500), Mauro Baquero wrote:
>I didn't configure GCC to compile in any specific way.  I just ran the
>configure script and then make.  Should have I have set some parameters for
>using the GNU binutils instead of SUN's?
>
>If so, what parameter can I pass to configure so that I force it to use the
>GNU binutils?

--with-gnu-as --with-as=... --winth-gnu-ld --with-ld=...

Have a look at: http://gcc.gnu.org/install/configure.html

>Thanks for your help.
>
>Kind regards,
>Mauro

fwyzard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile from ss 120301
  2001-12-10 20:28     ` Andrea 'Fyre Wyzard' Bocci
@ 2001-12-12  6:16       ` Mauro Baquero
  2001-12-14  6:53         ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Baquero @ 2001-12-12  6:16 UTC (permalink / raw)
  To: Gcc Help

I seemed to have gotten farther on the compilation for Solaris 2.7 and gcc
snapshot view of 12-03-01.  Setting the as and ld paths definately helped.

But now that it has gotten farther, it errored out in another place.  The
make goes into the libjava directory and as it is trying to compile in there
it errors out with the following:

Makefile:1778:  target 'ja' doesn't match the target pattern
Makefile:1778:  target 'j' doesn't match the target pattern
Makefile:1794:  target 'ja' doesn't match the target pattern
Makefile:1794:  target 'j' doesn't match the target pattern
make:  Circular ja <- libgcj.jar dependency dropped.
libtool: compile:  cannot determine name of library object from 'ja'

The following packages are what I untarred from the 12-03-1 snapshot view:

gcc-20011203.tgz
gcc-core-20011203.tgz
gcc-g++-20011203.tgz

Should I have also downloaded all the other packages?  If I recall
correctly, there were some other gzip files for java?

Thanks to everyone for your help so far.

Mauro

----- Original Message -----
From: "Andrea 'Fyre Wyzard' Bocci" <fwyzard@inwind.it>
To: "Mauro Baquero" <mbaquero>; "Phil Edwards" <pedwards@disaster.jaj.com>
Cc: "Gcc Help" <gcc-help@gcc.gnu.org>
Sent: Monday, December 10, 2001 11:28 PM
Subject: Re: compile from ss 120301


> At 10.13 10/12/2001 (GMT -0500), Mauro Baquero wrote:
> >I didn't configure GCC to compile in any specific way.  I just ran the
> >configure script and then make.  Should have I have set some parameters
for
> >using the GNU binutils instead of SUN's?
> >
> >If so, what parameter can I pass to configure so that I force it to use
the
> >GNU binutils?
>
> --with-gnu-as --with-as=... --winth-gnu-ld --with-ld=...
>
> Have a look at: http://gcc.gnu.org/install/configure.html
>
> >Thanks for your help.
> >
> >Kind regards,
> >Mauro
>
> fwyzard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile from ss 120301
  2001-12-12  6:16       ` Mauro Baquero
@ 2001-12-14  6:53         ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2001-12-14  6:53 UTC (permalink / raw)
  To: Mauro Baquero, Gcc Help

I don't know what's exactly causing this error (sombody with more gcj 
experience might help here) :

>Makefile:1778:  target 'ja' doesn't match the target pattern
>Makefile:1778:  target 'j' doesn't match the target pattern
>Makefile:1794:  target 'ja' doesn't match the target pattern
>Makefile:1794:  target 'j' doesn't match the target pattern
>make:  Circular ja <- libgcj.jar dependency dropped.
>libtool: compile:  cannot determine name of library object from 'ja'

Howver, if you're not interested i unsing the java compiler, and just want 
to use c and c++ you can try adding
--enable-languages=c,c++ --disable-libgcj
to your configure line.

>The following packages are what I untarred from the 12-03-1 snapshot view:
>
>gcc-20011203.tgz
>gcc-core-20011203.tgz
>gcc-g++-20011203.tgz
>
>Should I have also downloaded all the other packages?  If I recall
>correctly, there were some other gzip files for java?

gcc-core-xxx and gcc-g++-xxx are all you need to use c and c++. If you also 
want java, you need gcc-java-xxx.
However, the gcc package (tar.gz or tar.bz2) contains the full gcc sources, 
so with that you can build all the gcc front-ends (languages).

>Thanks to everyone for your help so far.

HTH
fwyzard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-14 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-05 13:00 compile from ss 120301 Mauro Baquero
     [not found] ` <20011209202045.A23227@disaster.jaj.com>
2001-12-10  7:11   ` Mauro Baquero
2001-12-10 20:28     ` Andrea 'Fyre Wyzard' Bocci
2001-12-12  6:16       ` Mauro Baquero
2001-12-14  6:53         ` Andrea 'Fyre Wyzard' Bocci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).