Re: Cross-Compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Becker <mb@xxxxxxxxxxxx> writes:

> Does anyone know how to build a Cross g++ for Solaris hosted on Linux ?
> Need to know which headers and libs to be copied and how to configure.

In the general case, you need to copy everything under /usr/include
and everything in /lib.  Then run configure using --with-headers and
--with-libs set to the directories where those files can be found.
    GCCSRCDIR/configure --target=sparc-sun-solaris2 --with-headers=DIR --with-libs=DIR

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux