Re: gcc 3.4.4 doesn't work
Cesar Strauss <[email protected]> Fri, 30 Jul 2010 16:18:00 -0300
| Newsgroups | gmane.comp.gnu.mingw.msys |
|---|---|
| Message-ID | <[email protected]> |
On 30/7/2010 15:23, Cesar Romani wrote:
> 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
Please try the following:
Create an empty directory and unpack the following archives:
bash-3.1.17-3-msys-1.0.13-bin.tar.lzma
binutils-2.19.51-3-msys-1.0.13-bin.tar.lzma
coreutils-5.97-3-msys-1.0.13-bin.tar.lzma
gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma
gcc-3.4.4-3-msys-1.0.13-bin.tar.lzma
grep-2.5.4-2-msys-1.0.13-bin.tar.lzma
libiconv-1.13.1-2-msys-1.0.13-dll-2.tar.lzma
libintl-0.17-2-msys-dll-8.tar.lzma
libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma
libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
sed-4.2.1-2-msys-1.0.13-bin.tar.lzma
termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma
w32api-3.14-3-msys-1.0.12-dev.tar.lzma
Make sure your archiving utility gives no errors when unpacking.
Start msys.bat, then try again.
Regards,
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