1/1
problem on using or32-uclinux-gcc
by Unknown on Jan 6, 2004 |
Not available! | ||
Hi ,
I downloaded the prebuilt GNU tool chain for openrisc. and 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. Does anyone have similar experience? How to fix it? Thank you very much. Regards, Stephen |
problem on using or32-uclinux-gcc
by Unknown on Jan 6, 2004 |
Not available! | ||
* whli_interqos@yahoo.com.hk (whli_interqos@yahoo.com.hk) wrote:
Hi ,
I downloaded the prebuilt GNU tool chain for openrisc. and 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. Does anyone have similar experience? How to fix it? Thank you very much. you are talking about prebuilt toolchain for cygwin, right ? i've seen such errors due to improper installation. the opencores cygwin prebuilt toolcahin should be extracted in '/', (so that new directory '/opt' is created where the toolcahin resides). The path to compiler is than /opt/bin/or32-uclinux-gcc regards, p. |
problem on using or32-uclinux-gcc
by zhangchun on Jan 6, 2004 |
zhangchun
Posts: 4 Joined: Aug 14, 2014 Last seen: Jan 5, 2025 |
||
If you are using the Cygwin prebuilt package, there is a bug in
that package. Try to use the follwing command to copy the files
needed:
cp /opt/or32-uclinux/lib/* /opt/or32-uclinux/or32-uclinux/lib
Good luck
Chun
----- Original Message -----
From: whli_interqos@yahoo.com.hk>
To: openrisc@opencores.org>
Sent: Tuesday, January 06, 2004 10:17 AM
Subject: [openrisc] problem on using or32-uclinux-gcc
Hi ,
I downloaded the prebuilt GNU tool chain for openrisc. and 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. Does
anyone have similar experience? How to fix it? Thank you very much.
Regards,
Stephen
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
1/1