public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Naveen Malik" <maliknaveen@hotmail.com>
To: "gcc-help" <gcc-help@gcc.gnu.org>
Subject: m68k-coff, cross gcc
Date: Tue, 30 Apr 2002 18:24:00 -0000	[thread overview]
Message-ID: <OE366d3OCcSkpLiSVvA000037fa@hotmail.com> (raw)

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




                 reply	other threads:[~2002-04-30 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OE366d3OCcSkpLiSVvA000037fa@hotmail.com \
    --to=maliknaveen@hotmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).