Page 1 of 1
binutils Compile Problems.
Posted: Mon Jun 27, 2011 6:32 pm
by CommunistPancake
I'm trying to compile binutils 2.20 with Cygwin for the GCC Cross-Compiler article. I've downloaded all the sources, but it doesn't want to compile.
Attached are the error and config logs.
Re: binutils Compile Problems.
Posted: Mon Jun 27, 2011 7:30 pm
by gerryg400
your config.txt file wrote: $ ../pack/binutils/configure --target= --prefix= --disable-nls
It seems like the $TARGET and $PREFIX are not set
Re: binutils Compile Problems.
Posted: Mon Jun 27, 2011 7:34 pm
by CommunistPancake
gerryg400 wrote:your config.txt file wrote: $ ../pack/binutils/configure --target= --prefix= --disable-nls
It seems like the $TARGET and $PREFIX are not set
I know, I actually noticed that before compiling and reconfigured. I'll upload the new config.
Re: binutils Compile Problems.
Posted: Tue Jun 28, 2011 1:17 am
by Solar
It croaks on the supporting Unix functions.
Is this really the topmost error? No include files not found earlier?
Right now I suspect a broken Cygwin setup.
Re: binutils Compile Problems.
Posted: Tue Jun 28, 2011 8:49 am
by CommunistPancake
Solar wrote:It croaks on the supporting Unix functions.
Is this really the topmost error? No include files not found earlier?
Right now I suspect a broken Cygwin setup.
It does seem so:
Code: Select all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... no
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... no
checking for fcntl.h... yes
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for stdint.h... (cached) yes
checking for stdio_ext.h... no
I'll try re-installing to see if that works.
Re: binutils Compile Problems.
Posted: Tue Jun 28, 2011 9:45 am
by CommunistPancake
Ok, it seems to work now. Thanks for the help