* [ECOS] Problem while compiling gcc for MIPS on Linux
@ 2001-04-15 3:09 Raghavan Pichai
2001-04-16 4:12 ` Linus Nielsen Feltzing
0 siblings, 1 reply; 3+ messages in thread
From: Raghavan Pichai @ 2001-04-15 3:09 UTC (permalink / raw)
To: ecos-discuss
Hi,
When I compile gcc(2.95.3 or 2.95.2) on Linux for platform mips-r3041-elf; I
get the following error
do \
echo ${name}; \
/home/raghav/gcc-2.95.2/gcc/xgcc -B/home/raghav/gcc-2.95.2/gcc/
-B/home/raghav
/gcc/mips-r3041-elf/bin/ -I/home/raghav/gcc/mips-r3041-elf/include -O2
-DCROSS_
COMPILE -DIN_GCC -g -O2 -I./include -G 0 -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NO
T_NEEDED -I. -I. -I./config -I./../include -c -DL${name} libgcc1.S; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mv libgcc1.o ${name}.o; \
mips-r3041-elf-ar rc tmplibgcc1.a ${name}.o; \
rm -f ${name}.o; \
done
_m16addsf3
as: unrecognized option `-G'
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/home/raghav/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
I am unable to diagnose. Can anyone help me out on this???
Thanx
Raghav
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Problem while compiling gcc for MIPS on Linux
2001-04-15 3:09 [ECOS] Problem while compiling gcc for MIPS on Linux Raghavan Pichai
@ 2001-04-16 4:12 ` Linus Nielsen Feltzing
2001-04-17 6:49 ` Jonathan Larmour
0 siblings, 1 reply; 3+ messages in thread
From: Linus Nielsen Feltzing @ 2001-04-16 4:12 UTC (permalink / raw)
To: egcs; +Cc: ecos-discuss
Raghavan Pichai wrote:
>
> Hi,
>
> When I compile gcc(2.95.3 or 2.95.2) on Linux for platform mips-r3041-elf; I
> get the following error
>
> _m16addsf3
> as: unrecognized option `-G'
> I am unable to diagnose. Can anyone help me out on this???
>
I assume that you have built binutils before gcc? If so, try
to insert the directory with the installed binutils into
the PATH:
bash: #export PATH=<the binutils dir>:$PATH
then make again.
I'm not sure, but you might have to reconfigure gcc.
/Linus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Problem while compiling gcc for MIPS on Linux
2001-04-16 4:12 ` Linus Nielsen Feltzing
@ 2001-04-17 6:49 ` Jonathan Larmour
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2001-04-17 6:49 UTC (permalink / raw)
To: Linus Nielsen Feltzing; +Cc: ecos-discuss
Linus Nielsen Feltzing wrote:
>
> Raghavan Pichai wrote:
> >
> > Hi,
> >
> > When I compile gcc(2.95.3 or 2.95.2) on Linux for platform mips-r3041-elf; I
> > get the following error
> >
> > _m16addsf3
> > as: unrecognized option `-G'
> > I am unable to diagnose. Can anyone help me out on this???
> >
>
> I assume that you have built binutils before gcc? If so, try
> to insert the directory with the installed binutils into
> the PATH:
>
> bash: #export PATH=<the binutils dir>:$PATH
>
> then make again.
>
> I'm not sure, but you might have to reconfigure gcc.
Also, make sure that the "prefix" used when configuring gcc is the same as
that when you installed binutils.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-17 6:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-15 3:09 [ECOS] Problem while compiling gcc for MIPS on Linux Raghavan Pichai
2001-04-16 4:12 ` Linus Nielsen Feltzing
2001-04-17 6:49 ` Jonathan Larmour
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).