From: "Pun H. Shiu" <ship@ece.gatech.edu>
To: 沈惠如 <890436@itri.org.tw>
Cc: crossgcc@sourceware.cygnus.com
Subject: RE:How to make a gcc for MPC860 ?
Date: Sat, 07 Oct 2000 19:15:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.21.0010072206460.8821-200000@long.eecom.gatech.edu> (raw)
In-Reply-To: <000701c02848$def92480$f772608c@ccl.itri.org.tw>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3898 bytes --]
Could you help me out or give some advice?
(what kind of flags/files/ENVs should I have?)
I try that the the make process goes fine. My
custom part of "configure" is
--target=powerpc-eabi
--prefix=/tmp/pun \
--exec-prefix=/tmp/pun/H-i686-pc-linux-gnu \
but I get the following error.
The following are the errors
--- from terminal (when I comment out the "#include <stdio.h>") ---
ship@marlet[/tmp/pun/test]73>/tmp/pun/H-i686-pc-linux-gnu/bin/powerpc-eabi-gcc
nn.c -I/tmp/pun/gcc/gcc-2.95.2/libio
-I/tmp/pun/gcc/gcc-2.95.2/libio/stdio
/tmp/pun/H-i686-pc-linux-gnu/powerpc-eabi/bin/ld: warning: cannot
find entry symbol _start; defaulting to 01800074
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x8): undefined
reference to `__SDATA_START__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0xc): undefined
reference to `__SBSS_END__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x14): undefined
reference to `__SDATA2_START__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x18): undefined
reference to `__SBSS2_END__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x1c): undefined
reference to `__GOT_START__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x28): undefined
reference to `__GOT_END__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x2c): undefined
reference to `__GOT2_START__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x30): undefined
reference to `__GOT2_END__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x34): undefined
reference to `__FIXUP_START__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x38): undefined
reference to `__FIXUP_END__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x4c): undefined
reference to `__EXCEPT_START__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi.o)(.got2+0x50): undefined
reference to `__EXCEPT_END__'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi-ctors.o)(.sdata+0x0): undefined
reference to `__init'
/tmp/pun/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.95.2/libgcc.a(eabi-ctors.o): In
function `__do_global_ctors':
/tmp/build/gcc/gcc/eabi-ctors.c(.sdata+0x4): undefined reference to `__fini'
collect2: ld returned 1 exit status
--- from terminal (when I comment out the "#include <stdio.h>") ---
--- from terminal (when I have "#include <stdio.h>") ---
ship@marlet[/tmp/pun/test]75>/tmp/pun/H-i686-pc-linux-gnu/bin/powerpc-eabi-gcc
nn.c -I/tmp/pun/gcc/gcc-2.95.2/libio
-I/tmp/pun/gcc/gcc-2.95.2/libio/stdio In file included from
/tmp/pun/gcc/gcc-2.95.2/libio/stdio/stdio.h:29,
from nn.c:1:
/tmp/pun/gcc/gcc-2.95.2/libio/libio.h:30: _G_config.h: No such file or directory
--- from terminal (when I have "#include <stdio.h>") ---
thank you,
pun
On Wed, 27 Sep 2000, [big5] ¨H´f¦p wrote:
> Hi
>
> Firstly, I would like to say thanks to bie.jiuling for his reply to my question
> I have not try his patch file yet.
> I think it will work well. :)
>
> One thing I would like to share with everyone who try to make a gcc compiler for 860 is :
> get "gcc.2.95.2.tar.gz" not "gcc.2.95.2.core + gcc.2.95.2.g++" <-- according to < http://sources.redhat.com/ecos/tools/linux-powerpc-eabi.html >
> I check my configure.out, and find that it seems that I miss some files.
> So I get lots of error "can't find file xxx"
> I try the gcc.2.95.2.tar.gz and follow the steps in the < http://sources.redhat.com/ecos/tools/linux-powerpc-eabi.html >
> Thank God, everything works ! :)
>
> good luck to everyone !
>
> Ruby
>
next prev parent reply other threads:[~2000-10-07 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-26 23:08 沈惠如
2000-10-07 19:15 ` Pun H. Shiu [this message]
2000-10-08 3:34 ` How " Kai Ruottu
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=Pine.GSO.4.21.0010072206460.8821-200000@long.eecom.gatech.edu \
--to=ship@ece.gatech.edu \
--cc=890436@itri.org.tw \
--cc=crossgcc@sourceware.cygnus.com \
/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).