From: aavan@263.net
Date: Sun Jul 15 2001 - 02:01:21 EDT
Hi, all I downloaded the Tow's m68k-pic32-coff-gcc rpm package and new crt0.s and patched the m68k-pic-coff-gcc to m68k-pic32-coff-gcc. I compiled the crt0.s to crt0.o by using m68k-coff-gcc, like this: m68k-coff-gcc -c crt0.s Following, I wrote a simple "Hello, world" app and compiled it by using m68k-pic32-coff-gcc, I got an error when I did it. The error information: /opt/uClinux/lib/gcc-lib/m68k-pic-coff/2.7.2.3-pic-060999/libgcc.a(__main.o): In function `__main': libgcc2.c(.text+0x5a): multiple definition of `__main' /opt/uClinux/m68k-pic-coff/lib/crt0.o(.text+0x4a):fake: first defined here mv: hello: No such file or directory Can't open hello.coff Can you give me a hint? Thanks for your help! Best Regards Aavan 欢迎使用263天下邮免费信箱 --Boundary-=_jmctPYqVdtJilzqdRVndguXJGioH Content-Type: Text/HTML Content-Transfer-Encoding: 8bit Hi, all<br><br>I downloaded the Tow's m68k-pic32-coff-gcc rpm package and new crt0.s and patched the m68k-pic-coff-gcc to m68k-pic32-coff-gcc. I compiled the crt0.s to crt0.o by using m68k-coff-gcc, like this:<br><br>m68k-coff-gcc -c crt0.s<br><br>Following, I wrote a simple "Hello, world" app and compiled it by using m68k-pic32-coff-gcc, I got an error when I did it. The error information:<br><br>/opt/uClinux/lib/gcc-lib/m68k-pic-coff/2.7.2.3-pic-060999/libgcc.a(__main.o): In function `__main':<br>libgcc2.c(.text+0x5a): multiple definition of `__main'<br>/opt/uClinux/m68k-pic-coff/lib/crt0.o(.text+0x4a):fake: first defined here<br>mv: hello: No such file or directory<br>Can't open hello.coff<br><br>Can you give me a hint?<br><br>Thanks for your help!<br><br>Best Regards<br><br>Aavan<br><br><font color=blue>欢迎使用263天下邮免费信箱</font><br><br><br><br><br><br><br><br> --Boundary-=_jmctPYqVdtJilzqdRVndguXJGioH-- This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:56 EDT