public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building gcc 3.4.5  on x86 Solaris 9
@ 2006-06-09 15:11 Ghost Ghost
  2006-06-14 16:18 ` Kai Ruottu
  0 siblings, 1 reply; 2+ messages in thread
From: Ghost Ghost @ 2006-06-09 15:11 UTC (permalink / raw)
  To: gcc-help


Hi ,

Just wanted to know if anyone was successful at building gcc 3.4.5 on 
Solaris9 (x86) . I only found a pre built version for gcc 3.4.2.

I tried building the source but there was an error when running the 'make'(i 
followed the installation notes ) . i will be posting the exact error and 
procedure later. but i just wanted to see if anyone had any thoughts as to 
what might be the problem.

Thanks in advance

Ajith
p.s  As i am newbie at solaris and open source software development i hope 
that i have not made a trivial mistak

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* Re: Building gcc 3.4.5  on x86 Solaris 9
  2006-06-09 15:11 Building gcc 3.4.5 on x86 Solaris 9 Ghost Ghost
@ 2006-06-14 16:18 ` Kai Ruottu
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Ruottu @ 2006-06-14 16:18 UTC (permalink / raw)
  To: Ghost Ghost; +Cc: gcc-help

Ghost Ghost wrote :
> Just wanted to know if anyone was successful at building gcc 3.4.5 on 
> Solaris9 (x86) .

  Solaris[89] probably requires GNU make and other GNU tools being used 
instead of the original
Solaris2/Unix SVR4 ones.  The "Prerequisites" in the "Installing GCC" 
says that using GNU make
is obligatory.  Because of these "GNUish" requirements quite many use 
only Linux or something
else more GNU'ish  build platform for their builds, even for the 
Solarises.  Producing crosstools
first for the Solaris[789] and Solaris10 targets isn't that hard.  But 
trying to convert the Solaris
platform to be more GNUish is the easy way.

> I tried building the source but there was an error when running the 
> 'make'(i followed the installation notes ) . i will be posting the 
> exact error and procedure later. but i just wanted to see if anyone 
> had any thoughts as to what might be the problem.

 Using at least the GNU make could be the first step in the 'GNUify' 
process...  What else should
be added, will be found via the Solaris2 FAQ, the "Installing GCC" 
manual and such.

 I'm going  to build gcc-3.2.3 - gcc-4.1.1 for the Solaris9 and 10 
targets, both Sparc and x86. For the
Solaris 10 I still have only the gcc-3.3.6 and it only for Sparc. For 
the Solaris9 only the 4.1.1 is missing
for both architectures, the 3.2.3, 3.3.6, 3.4.6 and 4.0.3 for Sparc/x86 
succeeded nicely. My $build/$host
is Linux/x86 (now SuSE Linux 9.2).

 So at least I "was successful at building gcc 3.4.6 for Solaris9 
(x86)"... For curiosity I could try using the
new gcc-3.4.6 for 'i486-solaris2.9' (my target name choice) to compile 
itself for 'i486-solaris2.9 host/target,
but still that '--build=i486-solaris2.9' issue will not be seen.  I'm 
not expecting any problems with this
"Canadian Cross" build...

 > p.s  As i am newbie at solaris and open source software development i 
hope that i have not made a
 > trivial mistak

 Not reading the "Prerequisites" for the GCC build could be one 
'lapsus', so if you didn't install the GNU
make first, that could be called as "trivial mistake", just as this GCC 
manual tells :

    "GNU make version 3.79.1 (or later)
         You must have GNU make installed to build GCC."
 

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

end of thread, other threads:[~2006-06-14 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-09 15:11 Building gcc 3.4.5 on x86 Solaris 9 Ghost Ghost
2006-06-14 16:18 ` Kai Ruottu

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