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@xxxxxxxx> 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/