i686-pc-mingw32 -> i686-pc-linux-gnu limited success
E. Weddington
eric@ecentral.com
Thu Apr 8 16:02:00 GMT 2004
On 7 Apr 2004 at 22:22, Eric E King, EIT wrote:
>
> apply gcc patch to fix collect2.c under MinGW
> http://www.hangar-eleven.de/bin/consoledev/ngc/gcc-3.3.2-MingW.diff
> make the kernel include/asm-i386 -> include/asm 'symlink' by hand
The problem with collect2 is that it has POSIX calls which of course doesn't
build for host=mingw32 (Windows). The patch above takes care of this.
FYI, there is a GCC bug report about this:
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14316>
One of the comments has a collect2 patch for 3.4 by the same author as the one
above, Dave Murphy.
> There's no telling what sorts of new problems I'll encounter after I
> get past this point, but it *is* possible to build a cross-gcc under
> mingw/msys for other targets so with a bit of work I hope to get this
> target built.
>
> I appreciate any help getting this to work.
Please note that the other major problem that you probably will run into has to
do with fixincl. Again, it's the same problem, fixincl has POSIX calls which
don't build for host=mingw32. Depending on which target you're building for you
may not even need to run fixincl. There is no standard solution for this yet.
Eric Weddington
------
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