public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: undefine@venus.wmid.amu.edu.pl
To: gcc-gnats@gcc.gnu.org
Subject: target/6075: crossgcc use wrong as when build
Date: Wed, 27 Mar 2002 17:26:00 -0000	[thread overview]
Message-ID: <20020328012328.E32AB13327C@uc.net> (raw)

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


                 reply	other threads:[~2002-03-28  1:26 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=20020328012328.E32AB13327C@uc.net \
    --to=undefine@venus.wmid.amu.edu.pl \
    --cc=gcc-gnats@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).