This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fw: bug in makefile for mips target build of 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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]