This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: cross compilinmg from linux to solaris 2.8 : problem in make


Nathan Kidd wrote:

sting sting wrote:

Hello,
I am trying to build a gcc cross compiler.
The host is RedHat 9 Linux (x86).
That Target is Solaris 2.8
../gcc-3.3.2/configure --target=i386-sun-solaris2.8 \
--prefix=i386-sun-solaris2.8 --without-headers --with-newlib

The resulted $prefix/$target, "i386-sun-solaris2.8/i386-sun-solaris2.8", is quite weird with these choices... I don't even know what the missing '/' from the $prefix here could cause... More sane could be to use a '--prefix=/opt/crosstools' or something and then get the tools installed in '/opt/crosstools/i386-sun-solaris2.8/...' and such...

 The '--without-headers' is bullshit, Solaris8 definitely has its own
proprietary SVR4-based headers and libraries.

A number of object files need to be pulled from a solaris box.

Or when Solaris8 was available free on CDs from Sun, just as was Solaris7, one could extract from the install media. A student copying headers and libs from the university machines into his own PC surely is working quite illegally. Getting the stuff from Sun itself is always the preferred way..

 The current Solaris9 seems to be available only by downloading. If the
Solaris8 stuff is still available on install CDs or only by downloading it
from Sun is unclear to me...

 The SUNW (or something) packages on the CDs are ZIP-files with weird names,
but SUNWhea, SUNWlib etc. will be required for the "target headers and
libraries".

 How legal it is to copy Solaris8/x86 stuff into Linux and then use it there
instead of on the native Solaris8/x86, is then one issue... People do things
like this all the time, but I would expect at least a license for Solaris8/x86
being required here.  In the Solaris7 case it was gotten by joining to their
"Developer Community/Net" or something...

 I would expect everyone wanting to work legally and checking these issues
first... BTW, things like '95/07/14 SMI"   /* SVr4.0 1.2   */' seen in Linux
puts one to think that maybe there is something in those SCO claims, these
'SMI' things are though copied from the SVR4.0 based Sun's Solaris2...

Cheers, Kai






------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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