This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I want thank everyone who responded to my double <-> string conversion problem. It seems that sscanf() and sprintf() do the job just fine -at least on our unix machines. Now when I try to cross-compile with the newlib 1.8 libraries (libm, libc, and libgcc) the linker goes: /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(makebuf.o): In function `__smakebuf': makebuf.c:93: undefined reference to `isatty' /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(sbrkr.o): In function `_sbrk_r': sbrkr.c:61: undefined reference to `sbrk' /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(fstatr.o): In function `_fstat_r': fstatr.c:61: undefined reference to `fstat' /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(readr.o): In function `_read_r': readr.c:58: undefined reference to `read' /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(lseekr.o): In function `_lseek_r': lseekr.c:58: undefined reference to `lseek' /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(writer.o): In function `_write_r': writer.c:58: undefined reference to `write' /usr/local/m68k-coff/lib/m68332/msoft-float/libc.a(closer.o): In function `_close_r': closer.c:53: undefined reference to `close' Can anybody tell me weather I have to write these functions myself or are they already implemented somewhere? Can they be stubbed out if I'm not going to use any kind of std I/O? What should the functions do if they can't be stubbed out? I just need a minimal system, which will make the conversion work. The hardware is a self-made mc68331 based board with bdm interface, ram, two lcd's and a keyboard but no serial communication or debug rom. Any help is greatly appreciated ____________ Peer Ilsøe