This is the mail archive of the crossgcc@sourceware.org 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] |
Other format: | [Raw text] |
Hi, With all the help from Kai and others i have been able to successfully build cross gcc for solaris and mingw32.
Solaris: configure binutils with prefix=/home/pro/sol-util and --target=sparc-solaris2.10 --disable-nls. make make install
Need to copy SUNW{arc.bz2 cpp.bz2 csl.bz2 cslr.bz2 libC.bz2 libCf.bz2 libm.bz2 libmsr.bz2 sunhea.bz2 zlib.bz2} packages
unzip the packages to /home/pro/sol-util/sparc-solaris2.10 ie /home/pro/sol-util/$target
configure gcc prefix=/home/pro/sol-util and --target=sparc-solaris2.10 --enable-languages=c --with-gnu-as --with-gnu-ld --with-sysroot=/home/pro/sol-util/sparc-solaris2.10 (aka $prefix/$ttarget).
Just the same exect target will be i686-unknown-mingw and instead of all the SUNW packages only mingw-runtime and w32api is installed in sysroot . Here gcc need not be given --with-sysroot.
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |