gcc 3.4.4 doesn't work
Cesar Romani <[email protected]> Fri, 30 Jul 2010 13:23:06 -0500
| Newsgroups | gmane.comp.gnu.mingw.msys |
|---|---|
| Message-ID | <[email protected]> |
By compiling a simple c file with gcc 3.4.4 on MSYS:
--------------------
#include <stdio.h>
int main() {
printf("Hello World");
return 0;
}
--------------------
I get the following error:
--------------------
$ gcc -o test1 test1.c
/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
--------------------
I installed the following packages on MSYS:
gcc-3.4.4-3-msys-1.0.13-bin.tar.lzma
binutils-2.19.51-3-msys-1.0.13-bin.tar.lzma
w32api-3.14-3-msys-1.0.12-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dbg.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-doc.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-lic.tar.lzma
My MinGW gcc version is 4.5.0 and it works fine.
Many thanks in advance,
--
Cesar
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm