public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* m68k-coff, cross gcc
@ 2002-04-30 18:24 Naveen Malik
  0 siblings, 0 replies; only message in thread
From: Naveen Malik @ 2002-04-30 18:24 UTC (permalink / raw)
  To: gcc-help

I am greatful to Mr. Johnston and Mr. Gatliff their timely advice.

I built the cross gcc for m68k-coff on i686-linux
host, without any error.

But when I am using this cross gcc to compile simple hello world program it
is giving me following messages :

-------------------------------------------------------
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/m68000/libgcc.a(__main.o): In
function `__do_global_dtors':
/usr/m68k-coff/build-gcc-again/gcc/../../gcc-3.0.4/gcc/libgcc2.c(.text+0x30)
: undefined reference to `__EH_FRAME_BEGIN__'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/m68000/libgcc.a(__main.o): In
function `__do_global_ctors':
/usr/m68k-coff/build-gcc-again/gcc/../../gcc-3.0.4/gcc/libgcc2.c(.text+0x4e)
: undefined reference to `__EH_FRAME_BEGIN__'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(abort.o): In function `abort':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/stdlib/../../../../
../../newlib-1.10.0/newlib/libc/stdlib/abort.c:63: undefined reference to
`_exit'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(signalr.o): In function `_kill_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/signalr.c:61: undefined reference to
`kill'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(signalr.o): In function `_getpid_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/signalr.c:96: undefined reference to
`getpid'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(sbrkr.o): In function `_sbrk_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/sbrkr.c:60: undefined reference to
`sbrk'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(makebuf.o): In function `__smakebuf':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/stdio/../../../../.
./../newlib-1.10.0/newlib/libc/stdio/makebuf.c:93: undefined reference to
`isatty'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(readr.o): In function `_read_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/readr.c:58: undefined reference to
`read'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(lseekr.o): In function `_lseek_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/lseekr.c:58: undefined reference to
`lseek'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(writer.o): In function `_write_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/writer.c:58: undefined reference to
`write'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(closer.o): In function `_close_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/closer.c:53: undefined reference to
`close'
/usr/m68k-coff/lib/gcc-lib/m68k-coff/3.0.4/../../../../m68k-coff/lib/m68000/
libc.a(fstatr.o): In function `_fstat_r':
/usr/m68k-coff/build-newlib/m68k-coff/m68000/newlib/libc/reent/../../../../.
./../newlib-1.10.0/newlib/libc/reent/fstatr.c:62: undefined reference to
`fstat'
collect2: ld returned 1 exit status
----------------------------------------------------------

Kindly help me to resolve this issue.

With Best Regards

Naveen Malik




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-30 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-30 18:24 m68k-coff, cross gcc Naveen Malik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).