crosscompiler tool chain from i386-linux to powerpc-apple and others

Ricardo Scachetti Pereira scachetti@videotron.ca
Sat Aug 16 14:40:00 GMT 2003


    Dan and Bill,

    Thanks a million for your help.
    Dan's crosstool is really great :)) With it I have already generated 
binaries of my app for sparc-linux.
    Since it is so easy to build the cross compilers for those various 
linux targets, I will add most of then to my list of targets.
    The only problem I found was when the crosstool tried to download 
the source tarbals from ftp.gnu.org. This server seems not to be very 
responsive lately. So I had to download the tarbal myself from a mirror 
and restart the whole process for each missing tarbal. Later on I 
changed the ftp server on the scripts. I had no problems with the other 
ftp sites at all.
    My suggestion would be to either to add some logic to support 
different mirrors for each ftp site, or to hardcode a different the ftp 
site or to define a variable for the site that you can change easily at 
the beggining.
    Anyway, the tool is absolutely great and works seamlessly. 
Congratulations for the good work, guys :)
    Now I will try my luck with the other OSes. Thanks for the advice on 
that, too.
    I really appreciate your help.
    Cheers,

Ricardo

Dan Kegel wrote:

>
> Hi Ricardo!
> My crosstool script, http://kegel.com/crosstool,
> will probably not help because it targets linux, not
> MacOSX, Solaris, or FreeBSD.   A
>
> But I bet there are plenty of recipes out there on the net
> for how to do it.  The main thing you need to know is you
> need to copy the system include files and some libraries
> from the target systems onto your build system (maybe you already knew 
> that).
>
> Google can find a few recipes, e.g. here are a few for
> targeting solaris:
> http://is.rice.edu/~welsh/cross-compiler/
> http://gcc.gnu.org/ml/gcc/2002-04/msg00289.html
>
> Once you get one working, the rest shouldn't be too bad.
> Good luck!
> - Dan
>



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list