Re: Cross Compiling
Benjamin Pharr wrote:
>
> I posted this to debian-user earlier. Since I got no response there, I'm
> trying here.
> ------------------------------------------------
>
> I have a program that I've written that needs to be cross compiled to a
> machine running SunOS 5.7 on a Ultra Sparc. I also need to cross compile it
> to Windows. How do I need to go about doing that? If you're going to tell
> me to RTFM then make sure you tell me which FM.
Read the GCC compiler building documentation. It talks about
building them in there. I've done this often in the past. You
will need copies of the GCC, and Binutils source. If you don't
have target libraries, you will need to get them or compile
cross libraries.
My first recomendation is for you to grab the full GCC source set
and read the documentation in them. Follow what it says to do...
> To complicate things the program uses the OpenSSL BIGNUM library. But that
> won't be a problem if I link statically. Will it? Thanks in advance.
Just build the needed cross library...
--
| Bryan Andersen | bryan@visi.com | http://www.nerdvest.com |
| Buzzwords are like annoying little flies that deserve to be swatted. |
| -Bryan Andersen |
Reply to: