1/1
problem on or32-uclinux-gcc
by Unknown on Jan 6, 2004 |
Not available! | ||
Hi , I downloaded the prebuilt GNU tool chain for openrisc. I put the tarball into root dir /, I extracted the tarball in the root directory. Then /opt is created. And I add the path "/opt/or32-uclinux/bin. And I download A c program,cbasic.c, from or1k/mp3/sw/cbasic in CVSWeb. But when I complied it I got the following problem. $or32-uclinux-gcc -I /usr/include -o test cbasic.c In file included from cbasic.c:7: support/support.h:20: warning: conflicting types for built-in function `printf' /opt/or32-uclinux/lib/gcc-lib/or32-uclinux/3.1/../../../../or32- uclinux/bin/ld: cannot open crt0.o: No such file or directory collect2: ld returned 1 exit status It seems the complier need a file crt0.o, but it cannot find it. But I can find the file crt0.o in the dir of /opt/or32-uclinux/lib. Does anyone have similar experience? How to fix it? Thank you very much. Regards, Stephen |
1/1