Web lists-archives.com

[Mingw-msys] Re: Re: Is there a MinGW winapi macro defined?




On 21/07/2010 08:14 p.m., Cesar Romani wrote:
 > I used to build zsh for MSYS with gcc 2.9.5. Now that I upgraded it to
 > 3.4.4 I'm getting:
 >
 > --------------------
 > $ ../configure --build='i686'
 > configuring for zsh 4.3.10
 > checking build system type... i686-pc-none
 > checking host system type... i686-pc-none
 > checking for gcc... gcc
 > checking for C compiler default output file name...
 > configure: error: C compiler cannot create executables
 > See `config.log' for more details.
 > --------------------
 >
 > I'm using msysCORE-1.0.15-1
 > Many thanks in advance,
 >

The config.log contains the following lines:

--------------------
...
configure:1843: checking build system type
configure:1861: result: i686-pc-none
configure:1883: checking host system type
configure:1898: result: i686-pc-none
configure:2452: checking for gcc
configure:2468: found /bin/gcc
configure:2479: result: gcc
configure:2717: checking for C compiler version
configure:2724: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2727: $? = 0
configure:2734: gcc -v >&5
Reading specs from /bin/../lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure 
--prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--infodir=/share/info --mandir=/share/man --libexecdir=/lib 
--enable-languages=c,c++ --disable-nls --enable-threads=posix 
--enable-sjlj-exceptions --enable-hash-synchronization 
--enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:2737: $? = 0
configure:2744: gcc -V >&5
gcc: `-V' option must have argument
configure:2747: $? = 1
configure:2770: checking for C compiler default output file name
configure:2797: gcc    conftest.c  >&5
/bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o): 
In function `_pei386_runtime_relocator':
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429: 
undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429: 
undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status
configure:2800: $? = 1
configure:2838: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MACHTYPE "i686"
| #define VENDOR "pc"
| #define OSTYPE "none"
| #define GLOBAL_ZSHENV "/etc/zshenv"
| #define GLOBAL_ZSHRC "/etc/zshrc"
| #define GLOBAL_ZPROFILE "/etc/zprofile"
| #define GLOBAL_ZLOGIN "/etc/zlogin"
| #define GLOBAL_ZLOGOUT "/etc/zlogout"
| #define RESTRICTED_R 1
| #define CONFIG_LOCALE 1
| #define MAX_FUNCTION_DEPTH 1000
| #define DEFAULT_READNULLCMD "more"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2845: error: C compiler cannot create executables
...
--------------------

Many thanks in advance,

-- 
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys