public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Kristof Vanbecelaere <kristof.vanbecelaere@sonycom.com>
To: gcc-help@gcc.gnu.org
Subject: Link problem gcc 3.0 mips cross-compiler
Date: Sun, 28 Oct 2001 01:58:00 -0000	[thread overview]
Message-ID: <20011028105729.A10761@Chickadee> (raw)

Hi,

I tried to build both gcc-3.0 and gcc-3.0.2 as a cross compiler for
mips. I did not have this problem with egcs-1.1.2 or gcc-2.95. I
configured as following:

../gcc-3.0/configure --prefix=/usr --target=mips-linux --with-newlib

In both cases I ran into the following link problem:

/home/kristof/port/build/gcc/xgcc -B/home/kristof/port/build/gcc/
-B/usr/mips-linux/bin/ -B/usr/mips-linux/lib/ -isystem
/usr/mips-linux/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1
-Wl,--version-script=libgcc.map -o libgcc_s.so   libgcc/./_muldi3.o
libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o
libgcc/./_umoddi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o
libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o
libgcc/./_clz.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o
libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o
libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o
libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o
libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o
libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o
libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o
libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o
libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o
libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o
libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o
libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f
libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.so.1
/usr/mips-linux/bin/ld: cannot open crti.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/kristof/port/build/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/kristof/port/build/gcc'
make: *** [all-gcc] Error 2

Any advice on how to fix this?

Kristof

                 reply	other threads:[~2001-10-28  1:58 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=20011028105729.A10761@Chickadee \
    --to=kristof.vanbecelaere@sonycom.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).