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]

Re: CYGWIN To Solaris question-progress


On Sun, 4 Feb 2001, Rafal Furdzik - GM Corner wrote:

> I'm very new to all this GCC stuff. Can you tell me at least what files
> exactly I need. Where are those located on my Solaris 2.5.1 box ? Where
> should I place them on my Cygwin box ? Thanks in advance for your help.

Here's what you'll need:

includes  : everything under /usr/include
libraries : everything under /lib, and possibly quite a few things from
/usr/lib. 

You can trim the list down later on when you gain experience and know
the minimal set, especially for the libraries. 

Follow the link I had provided for building Cross compiler for Linux on
Cygwin, which has plenty of information as to where you should place them.
You can alternatively use --with-headers and --with-libs options, but 
that's not necessary if place these headers and libraries in the correct 
spot in the first place ($tooldir/sys-include and $tooldir/lib). 

> I'm searching web trying to get those include and libs files. It could be
> much easier if gcc developers put those lib and header files in gcc package.

Perhaps you don't realize the Solaris is not a free (in the free software
sense) operating system, and Sun's license prohibits re-distributing these 
headers and libraries (perhaps even to those who have a valid license,
I haven't read the end user license agreement details). You can get a 
zero cost Solaris binary license from + media for US$75, check 
http://www.sun.com/ for details. Anybody who will upload these headers and
libraries or send those to you will be violating the license agreement.

Until you get the Solaris operating system in some manner, there is little
you can do towards having a functional Cygwin->Solaris cross development
environment.

> One guy here said that you really do not need those include files and you
> can even create empty files. What do you think about that ?

That was not correct, and he retracted in a later post. 

Regards,
Mumit



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


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