This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem in gcc compilation for target mips-tx39
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Marcos Peixoto <hunter_marquinhos at yahoo dot com dot br>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 08 Apr 2005 10:03:30 -0600
- Subject: [ECOS] Re: Problem in gcc compilation for target mips-tx39
- Organization: MLB Associates
- References: <20050408154950.71562.qmail@web31107.mail.mud.yahoo.com>
Please copy the discussion list so that all may benefit. Private
support is available (from MLB Associates and others) via contract.
On Fri, 2005-04-08 at 12:49 -0300, Marcos Peixoto wrote:
> Hello Gary,
>
> I'm building the MIPS TX39 development tools for
> Linux. When I used the make utility, and run:
>
> make -w all-gcc install-gcc \
> LANGUAGES="c c++" 2>&1 | tee make.out
>
> I get the folowing error:
>
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs;
> fi
> /tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
> -B/tools/H-i686-pc-linux-gnu/mips-tx39-elf/bin/
> -B/tools/H-i686-pc-linux-gnu/mips-tx39-elf/lib/
> -isystem
> /tools/H-i686-pc-linux-gnu/mips-tx39-elf/include
> -isystem
> /tools/H-i686-pc-linux-gnu/mips-tx39-elf/sys-include
> -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
> -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -isystem
> ./include -G 0 -g -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
> -I/src/gcc/gcc-3.4.2/gcc -I/src/gcc/gcc-3.4.2/gcc/.
> -I/src/gcc/gcc-3.4.2/gcc/../include -DL_m16addsf3
> -xassembler-with-cpp -c
> /src/gcc/gcc-3.4.2/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/build/gcc/gcc'
> make[1]: *** [stmp-multilib] Error 2
> make[1]: Leaving directory `/tmp/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/tmp/build/gcc'
>
> I want to run an aplication in mips simulator,
> Thanks,
> Evandro
First of all, this is a GCC problem. You've still not indicated
what toolchain you are trying to build, what configuration steps
you took to get here, etc. Without such data, we'd just be guessing
(or trying to read your mind...)
>
>
>
> --- Gary Thomas <gary@mlbassoc.com> wrote:
> > On Fri, 2005-04-08 at 10:31 -0300, Marcos Peixoto
> > wrote:
> > > > Hi all,
> > > > I get the folowing error in gcc compilation for
> > > > mips-tx39 target:
> > > > as: unrecognized option `-G'
> > > > make[2]: *** [libgcc/./_m16addsf3.o] Error 1,
> > > >
> > > > Can anybody tell me how to solve this problem?
> > > > Regards,
> > > > Marcos
> >
> > Too little data to be of much help. We'd need to
> > know:
> > How did you get it?
> > What target did you configure for?
> > What toolchain are you using?
> > Can you build anything for this target?
> >
> > --
> >
> ------------------------------------------------------------
> > Gary Thomas | Consulting for the
> > MLB Associates | Embedded world
> >
> ------------------------------------------------------------
> >
> >
>
>
>
>
>
> Yahoo! Acesso Grátis - Internet rápida e grátis.
> Instale o discador agora! http://br.acesso.yahoo.com/
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss