From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32217 invoked by alias); 22 Feb 2002 13:01:56 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31918 invoked from network); 22 Feb 2002 13:01:50 -0000 Received: from unknown (HELO tomts24-srv.bellnexxia.net) (209.226.175.187) by sources.redhat.com with SMTP; 22 Feb 2002 13:01:50 -0000 Received: from amdk62400 ([65.92.132.82]) by tomts24-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020222130141.KPA18015.tomts24-srv.bellnexxia.net@amdk62400> for ; Fri, 22 Feb 2002 08:01:41 -0500 Message-ID: <000901c1bba1$1635adf0$0300a8c0@sympatico.ca> Reply-To: "H Girard" From: "H Girard" To: Subject: Fw: bug in makefile for mips target build of gcc ??? Date: Fri, 22 Feb 2002 05:03:00 -0000 Organization: Bnd Radiocom MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-SW-Source: 2002-02/txt/msg01295.txt.bz2 ----- Original Message ----- From: "H Girard" To: Sent: Thursday, February 21, 2002 5:18 PM Subject: bug in makefile for mips target build of gcc ??? > Hi everyone, > > this is a sample of the output of building crossgcc with the > ../configure --target=mipsisa32-elf --with-newlib with the cvs gcc of feb > 21 , binutils about 1 week before. > ..... > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi > /tmp/gnu/build_xgcc/gcc/xgcc -B/tmp/gnu/build_xgcc/gcc/ -nostdinc -B/tmp/gnu > /bui > ld_xgcc/mipsisa32-elf/newlib/ -isystem > /tmp/gnu/build_xgcc/mipsisa32-elf/newlib/ > targ-include -isystem > /tmp/gnu/gcc/newlib/libc/include -B/tools/mipsisa32-elf/bi > n/ -B/tools/mipsisa32-elf/lib/ -isystem > tools/mipsisa32-elf/include -O2 -DIN_G > CC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- > prot > otypes -isystem ./include -G > 0 -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinh > ibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config - > I../ > ../gcc/gcc/../include -DL_m16addsf3 -xassembler-with-cpp -c > ../../gcc/gcc/config > /mips/mips16.S -o libgcc/./_m16addsf3.o > as: unrecognized option `-G' > make[2]: *** [libgcc/./_m16addsf3.o] Error 1 > make[2]: Leaving directory `/tmp/gnu/build_xgcc/gcc' > make[1]: *** [stmp-multilib] Error 2 > make[1]: Leaving directory `/tmp/gnu/build_xgcc/gcc' > make: *** [all-gcc] Error 2 > > from the manual : the -G option is used for ECOFF not Elf . The makefile > seems to generate the -G option when an -elf target is set even if the > option is supposed to be used only for ECOFF ????? > > > is this a bug or is there something i am missing ??? > > thanks > > H Girard > > > > from the manuals options description > The following options are available when as is configured for a MIPS > processor. > > -G num > This option sets the largest size of an object that can be referenced > implicitly with the gp register. It is only accepted for targets that use > ECOFF format, such as a DECstation running Ultrix. The default value is 8. >