mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] i586-pc-linux-gnu not building


From: Ken Restivo
Subject: [Mingw-cross-env-list] i586-pc-linux-gnu not building
Date: Mon, 14 Apr 2014 17:46:02 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

First of all, thanks for MXE. I'm trying to make a modification to an ancient 
cross-platform program and was trying to rationalize/sanitize its build 
environment.

I was experimenting around with using MXE to cross-compile not only for Windows 
but for i586 binaries as well.  (And yes, I know static compilation isn't 
supported yet, but I might make an attempt at  once I understand MXE better).

I noticed that building GCC with i586-pc-linux-gnu doesn't actually put the gcc 
in the bin directory, i.e. 


address@hidden /home/src/mxe/usr/i586-pc-linux-gnu/bin]$ l
total 50876
drwxr-xr-x 2 ken ken    4096 Apr 14 16:34 ./
drwxr-xr-x 7 ken ken    4096 Apr 14 16:34 ../
-rwxr-xr-x 2 ken ken 4743138 Apr 14 16:34 ar*
-rwxr-xr-x 2 ken ken 6489530 Apr 14 16:34 as*
-rwxr-xr-x 1 ken ken  467320 Apr 14 16:34 lame*
-rwxr-xr-x 4 ken ken 6686756 Apr 14 16:34 ld*
-rwxr-xr-x 4 ken ken 6686756 Apr 14 16:34 ld.bfd*
-rwxr-xr-x 2 ken ken 4617983 Apr 14 16:34 nm*
-rwxr-xr-x 2 ken ken 5518551 Apr 14 16:34 objcopy*
-rwxr-xr-x 2 ken ken 6596550 Apr 14 16:34 objdump*
-rwxr-xr-x 2 ken ken 4743161 Apr 14 16:34 ranlib*
-rwxr-xr-x 2 ken ken 5518542 Apr 14 16:34 strip*


But, MXE seems to think it was installed:

address@hidden /home/src/mxe/usr/i586-pc-linux-gnu/installed]$ l
total 8
drwxr-xr-x 2 ken ken 4096 Apr 14 16:34 ./
drwxr-xr-x 7 ken ken 4096 Apr 14 16:34 ../
-rw-r--r-- 1 ken ken    0 Apr 14 16:34 binutils
-rw-r--r-- 1 ken ken    0 Apr 14 16:34 gcc
-rw-r--r-- 1 ken ken    0 Apr 14 16:33 gcc-gmp
-rw-r--r-- 1 ken ken    0 Apr 14 16:33 gcc-mpc
-rw-r--r-- 1 ken ken    0 Apr 14 16:33 gcc-mpfr
-rw-r--r-- 1 ken ken    0 Apr 14 16:34 lame
-rw-r--r-- 1 ken ken    0 Apr 14 16:33 mingwrt
-rw-r--r-- 1 ken ken    0 Apr 14 16:33 mingw-w64
-rw-r--r-- 1 ken ken    0 Apr 14 16:34 ogg
-rw-r--r-- 1 ken ken    0 Apr 14 16:33 w32api
-rw-r--r-- 1 ken ken    0 Apr 14 16:34 winpthreads
-rw-r--r-- 1 ken ken    0 Apr 14 16:34 zlib

And deleting usr/i586-pc-linux-gnu/installed/gcc and re-running

make gcc MXE_TARGETS="i586-pc-linux-gnu"

Just causes the file to be touched again.

Things I've already tried are:
        i586-pc-linux-gnu
        i686-pc-linux-gnu
        i586-unknown-linux-gnu
        i686-unknown-linux-gnu

All the above have the same results.

Though, I should note that i686-pc-mingw32 works perfectly.

Is there any reason why gcc for the 32-bit linux envs should not work?

-ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]