public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Fw: bug in makefile for mips target build of gcc ???
@ 2002-02-22  5:03 H Girard
  2002-02-22 16:02 ` Eric Christopher
  0 siblings, 1 reply; 2+ messages in thread
From: H Girard @ 2002-02-22  5:03 UTC (permalink / raw)
  To: gcc


----- Original Message -----
From: "H Girard" <hgirard@broadbandnetdevices.com>
To: <gcc-help@gcc.gnu.org>
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.
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fw: bug in makefile for mips target build of gcc ???
  2002-02-22  5:03 Fw: bug in makefile for mips target build of gcc ??? H Girard
@ 2002-02-22 16:02 ` Eric Christopher
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Christopher @ 2002-02-22 16:02 UTC (permalink / raw)
  To: gcc

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

Yeah. In the manual. I should fix this soon. :) Were you using binutils
for this? You need the gnu assembler for this target.

-eric

-- 
I will not use abbrev.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-23  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22  5:03 Fw: bug in makefile for mips target build of gcc ??? H Girard
2002-02-22 16:02 ` Eric Christopher

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