>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: