[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Microblaze GNU Toolchain



Hi All

I have installed the Microblaze GNU Toolchain Linux Binaries on my
computer. 

When I tried 

mb-gcc test.c

#include <stdio.h>
int main()
{
    write(1, "hello", 5 );
    return 1;
}

I get:

usr/share/ecos/gnutools/microblaze-elf/bin/../lib/gcc-lib/microblaze/2.95.3-4/../../../../microblaze/lib/libc.a(write.o): In function `write':

write.o(.text+0x34): undefined reference to `outbyte'

write.o(.text+0x4c): undefined reference to `outbyte'



mb-gcc–c test.c

Works well. I get test.o

I was wondering if someone could point me out what I am doing wrong.

Thank you,

B. G.


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/