10-05-2009
8,
0
Join Date: Sep 2009
Last Activity: 29 October 2009, 4:23 AM EDT
Posts: 8
Thanks Given: 0
Thanked 0 Times in 0 Posts
Hi,
Resurrecting this old thread.
I am in a similiar situation, however, we already have a native compiler on linux that will build 32bit and 64bit linux cross compilers. Now we want to go a step further and be able to cross-compile on a Windows host. The native compiler is based on GCC 3.3.3 and built with GCC 3.3.3, while the cross-compilers are GCC 4.1.2 compliant. We have sysroots in place for 32bit and 64bit, and the native compiler, and link in the source codes for GCC and Binutils. My question is, if we the criteria above, is it really necessary for me to install the crosstool mentioned in the link regarding cross-compiler in cygwin? Would it be sufficient to build the native compiler with Cygwin GCC 3.3.3 and link in necessary rpms (which we extract of course) from the linux distros), and then with the native compiler build the cross-compilers?
I would like to do as little changes as possible in the code we already have. Right now we build everything with make, and the source codes and binaries from the linux distros (we only take what it necessary, so only the relevant rpms are stored) are in rpm format.. The native compiler is buillt in a similiar way, i.e. source code for binutils, gcc from the linux distro are available, in addition to a set of rpm binaries.
So I guess install cygwin, gcc 3.3.3, rpm tools, and gnu make?
Thanks in advance!