public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiling gcc-3.4.6 on sparc Solaris 9
@ 2022-07-13 18:54 Daniel Santos
  2022-07-13 19:47 ` Jonathan Wakely
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Santos @ 2022-07-13 18:54 UTC (permalink / raw)
  To: gcc-help

Hello community,

I am trying to build gcc on Sparc Solaris 9.
So far I am creating a directory sibling to the source distribution directory and running configure from there.
One thing I don’t understand is why the base configure script does not descend automatically to the gcc subfolder.
I have to go in there and run configure again.

While running configure with the command line : ../../gcc-3.4.6/gcc/configure —with-gnu-as —with-gnu-ld
and then make : it builds the files and when it gets to running ld I get the error :

/usr/local/sparc-sun-solaris2.9/bin/ld: target elf64-sparc not found

I am building this gcc with the same version installed via sunfkeeware packages.
The reason for building it is that I need objective-c support and the package does not have it.

This ld error indicates that the ld executable being run is from solaris, and not the gnu one I have in /usr/local/bin/ld

Can anyone shed some light on this ?

Thanks
Regards
Daniel Santos

Daniel Santos




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

end of thread, other threads:[~2022-07-17 19:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 18:54 Compiling gcc-3.4.6 on sparc Solaris 9 Daniel Santos
2022-07-13 19:47 ` Jonathan Wakely
2022-07-14  8:18   ` Rainer Orth
2022-07-14 18:40     ` Daniel Santos
2022-07-14 18:50       ` Jonathan Wakely
2022-07-14 18:50       ` Rainer Orth
2022-07-15 18:10         ` Daniel Santos
2022-07-15 19:08           ` Jonathan Wakely
2022-07-16 18:54             ` Daniel Santos
2022-07-17 19:40             ` Daniel Santos

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).