1/1
makefile for upload to openrisc
by Unknown on Feb 10, 2004 |
Not available! | ||
Hi,
I am just doing a project on openrisc. Until now I have got the board of
chip and can upload makefile to FPGA.
the only question is how can I translate C program to makefile type so I
can upload and let them run on openrisc?
I try to compile them using or32-uclinux-gcc, but errors...
/cygdrive/c/openrisctools/lib/gcc-lib/or32-uclinux/3.1/../../../../or32-
uclinux/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
does anyone has done them before? How can I compile C code to some
kind of other code so openrisc can execute?
many thanks,
scr106@york.ac.uk
|
makefile for upload to openrisc
by Unknown on Feb 10, 2004 |
Not available! | ||
* scr106@york.ac.uk (scr106@york.ac.uk) wrote:
Hi,
I am just doing a project on openrisc. Until now I have got the board of chip and can upload makefile to FPGA. the only question is how can I translate C program to makefile type so I can upload and let them run on openrisc? I try to compile them using or32-uclinux-gcc, but errors... /cygdrive/c/openrisctools/lib/gcc-lib/or32-uclinux/3.1/../../../../or32- uclinux/bin/ld: cannot find -lc collect2: ld returned 1 exit status you seam to be missing libc. (did you compile & install uclibc ?). try aslo explicitly telling the linker where to find libc.a (-L switch)....
does anyone has done them before? How can I compile C code to some
kind of other code so openrisc can execute? code produced by or32-uclinux-* utils is for openrisc. regards, p. |
1/1