[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile a.out
Sorry but the compiler doesn't want this :(
make cris-axis-linux-gnu <-- elinux doesn't work.
gcc-cris -melinux -isystem /home/bjorn/axis/devboard_bt/target/cris-axis-linux-gnu/include -L/home/bjorn/axis/devboard_bt/target/cris-axis-linux-gnu/lib -s hello.o -o hello
/home/bjorn/axis/cris/gcc-lib/cris/2.96/rld-cris: Relocatable linking with relocations from format elf32-cris (/home/bjorn/axis/devboard_bt/target/cris-axis-linux-gnu/lib/libc.a(_exit.o)) to format a.out-cris (hello) is not supported
collect2: ld returned 1 exit status
make: *** [hello] Error 1
So, how do I set up the environment to me happy with elinux?
I've found elinux-headers, but they are for cris-1.16 or lower, and that doesn't build due to some failure in
cris-dist-glibc-1.16. (haven't tested this on anything but my gcc-3.2.3).
>On Mon, 8 Dec 2003 13:36:51 +0100
>"Mikael Starvik" <firstname.lastname@example.org> wrote:
> -melinux should do the trick (-maout or -mcrisaout are also available).
> to the man pages for gcc-cris for further information.
> -----Original Message-----
> From: email@example.com">mailto:firstname.lastname@example.org] On Behalf
> Of Bjorn Andersson
> Sent: Monday, December 08, 2003 1:19 PM
> To: dev-etrax
> Subject: Compile a.out
> I'm building a little application to a camera that runs 2.0.38, and
> therefore doesn't have ELF-support.
> I've downloaded cris-1.25, and compiled it with the help from the
> instructions on the axis-developer-site.
> Everything works just perfect, except that I can't figure out how to build
> I've also tested to build cris-1.0, but it doesn't compile on neither
> gcc-3.2.2 nor gcc-2.95.4.
> Any suggestions?
> // Bjorn