|
From: | Allen Choong |
Subject: | Re: [Mingw-cross-env-list] Compiling bash from source |
Date: | Thu, 29 Mar 2012 22:21:00 +0800 |
Thank you. At least I know the reason, so that I can try to solve the problem.
> Date: Thu, 29 Mar 2012 13:42:37 +0200 > From: address@hidden > To: address@hidden > Subject: Re: [Mingw-cross-env-list] Compiling bash from source > > Allen Choong schrieb: > > [...] > > gcc -DPROGRAM='"bash.exe"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"mingw32"' -DCONF_MACHTYPE='"i686-pc-mingw32"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -g -DCROSS_COMPILING -o mksyntax.exe ../mksyntax.c > > [...] > > /usr/include/unistd.h:275:21: error: two or more data types in declaration specifiers > > [...] > > Is there anyway to solve this? Because it looks like reading the "unistd.h" from the Linux root, not based on the installed i686-pc-mingw32 path. > > That's true, but the deeper problem is that the Makefile > calls "gcc" rather than "i686-pc-mingw32-gcc". I guess > there is a bug in the bash Makefile which affects > cross-compiling. > > > Regards, > Volker > > -- > Volker Grabsch > ---<<(())>>--- > |
[Prev in Thread] | Current Thread | [Next in Thread] |