3 msgStrange 'No matching function for call' compila...
5 msgcompiling gcc 4.1.1 for AVR
2 msggfortran compiler precision
2 msgReading and writing binary files
2 msgAnother strict-alias puzzle with (unsigned) cha...
4 msgcannot exec 'cc1plus'
1 msgTest of subscribing
2 msgpeephole2

cross compilation
\ Mangal Pandey (26 Sep 2006)
. \ Kai Ruottu (26 Sep 2006)
. . \ Mangal Pandey (28 Sep 2006)

3 msgproblem building arm-linux-gcc
3 msgfunctors and callbacks
5 msgProblem with forward declaration of classes wit...
2 msg4.2 release date?
1 msgboehm-gc/misc.c compilation problem on cygwin
1 msgprintf-like syntax
4 msgExtending GNU C extensions
3 msgArguments in registers
2 msghelp: C++, SunStudio and gcc
3 msgPrevious definition of strdup
4 msgg++ -ldl
Subject:Re: cross compilation
Group:Gcc-help
From:Mangal Pandey
Date:28 Sep 2006


Hi,

Thanks for your reply but i'm naive to Solaris and to
GCC too.
> 1. Get the Solaris 10 $target C libraries into your
> $host,
> install them where a crosscompiler should have
> the
> $target stuff

From where i can get the Solaris 10 C++ libraries and
should i install these libs on Solaris box or RHEL
box.

> 2 Build Solaris10 $target binutils, installing
> them into
> the same scheme with the $target libraries

How to build the binutils for Solaris 10?

> 3. Build the Solaris10 $target GCC, its build
> requires both
> the $target binutils and the $target C
> libraries when
> producing extra libraries (libiberty,
> libstdc++-v3,...) for
> the $target. Then install your new GCC !

To build solaris10 target GCC how to make the above
libs and binutils for that build.

/-
Mangal


--- Kai Ruottu <karuottu> wrote:

> Mangal Pandey wrote:
> > I'm developing an application on RHEL AS4 and want
> to
> > generate code for Solaris 5.10. I'm using GCC
> 3.4.3.
> > What steps i need to follow to generate code for
> > Solaris 5.10.
> >
> 1. Get the Solaris 10 $target C libraries into your
> $host,
> install them where a crosscompiler should have
> the
> $target stuff
>
> 2. Build Solaris10 $target binutils, installing
> them into
> the same scheme with the $target libraries
>
> 3. Build the Solaris10 $target GCC, its build
> requires both
> the $target binutils and the $target C
> libraries when
> producing extra libraries (libiberty,
> libstdc++-v3,...) for
> the $target. Then install your new GCC !
>
> 4. Try compiling and linking your 'hello.c' and
> 'hello.cpp'
> and after these succeeding and working on the
> $target,
> be happy !
>
> The older GCC manuals, for instance the gcc-2.95.3
> "Using
> and Porting and its "Installing GNU CC / Building
> and
> Installing a Cross-Compiler" are your friends!
>
>




__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/


© 2004-2008 readlist.com