public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/6075: crossgcc use wrong as when build
@ 2002-03-27 17:26 undefine
  0 siblings, 0 replies; only message in thread
From: undefine @ 2002-03-27 17:26 UTC (permalink / raw)
  To: gcc-gnats

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]


>Number:         6075
>Category:       target
>Synopsis:       cross gcc use wrong as when build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 27 17:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrzej Dopiera³a
>Release:        3.0.4
>Organization:
Adam Mickiewicz University
>Environment:
System: Linux uc 2.4.17 #1 Tue Jan 22 12:26:51 UTC 2002 i686 pld
Architecture: i686

	
host: i686-pld-linux-gnu
build: i686-pld-linux-gnu
target: mipsel-pld-linux-gnu
configured with: ./configure --target=mipsel-pld-linux
>Description:
I try to use crosscompiler for mips. I compiled binutils(2.12.90.0.1) with
target= mipsel-pld-linux-gnu. Next i try compile gcc. But it use as from
system binutils, not crosscompiled when compile crtbegin.o. Effect is:

/home/undefine/rpm/SOURCES/gcc-3.0.4/gcc/xgcc
-B/home/undefine/rpm/SOURCES/gcc-3.0.4/gcc/ -B/usr/local/mipsel-pld-linux/bin/
-B/usr/local/mipsel-pld-linux/lib/ -isystem /usr/local/mipsel-pld-linux/include
-DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include  -I. -I. -I. -I./. -I./config
-I./../include  -g0 \
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions  -Dinhibit_libc \
  -c ./crtstuff.c -DCRT_BEGIN -o crtbegin.o
as: nieznana opcja `-EL'
make[1]: *** [crtbegin.o] B³±d 1
make[1]: Opuszczam katalog `/home/undefine/rpm/SOURCES/gcc-3.0.4/gcc'
make: *** [all-gcc] B³±d 2

(-EL is on mipsel, not on i686)

>How-To-Repeat:
try compile binutils with 
--target=mipsel-pld-linux-gnu --prefix=/usr --disable-shared

and next compile gcc with
--target=mipsel-pld-linux-gnu

>Fix:
	none known :(

>Release-Note:
>Audit-Trail:
>Unformatted:


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

only message in thread, other threads:[~2002-03-28  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-27 17:26 target/6075: crossgcc use wrong as when build undefine

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).