This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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 compilation


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!


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