I'm trying to compile gnumach source code from Debian GNU/Linux, but I have an error with configure step.
CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' ../configure --prefix= --host=i686-unknown-linux-gnu
But, in the latest step, I get the next error:
elf_i386' ../configure --prefix= --host=i686-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-unknown-linux-gnu-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-unknown-linux-gnu
checking for gawk... (cached) gawk
checking whether make supports the include directive... yes (GNU style)
checking for i686-unknown-linux-gnu-gcc... gcc -m32
checking whether the C compiler works... no
configure: error: in `/home/almu/gnumach/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
I attach configure logs.
Which can be the error?
Thanks