* querries on cross compiler
@ 2004-07-07 3:22 ` hemanth
0 siblings, 0 replies; 4+ messages in thread
From: hemanth @ 2004-07-07 3:22 UTC (permalink / raw)
To: linux-mips
Hi,
Iam trying to build a cross compiler for MIPS processor on
"i686-pc-linux-gcc" host. Iam getting some errors during the installation of
BINUTILS(binutils-2.9.1) i.e, after configure, when I type "make" Iam
getting errors. Can u please suggest how to remove these errors.
These are the errors,
root@localhost binutils-2.9.1]# make
make[1]: Entering directory `/root/cross_compiler/binutils-2.9.1/libiberty'
if [ -n "" ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
echo "# !Automatically generated from ./functions.def"\
"- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
| sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
| sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
gcc -c -g -O2 -I. -I./../include ./dummy.c 2>/dev/null
make[1]: *** [dummy.o] Error 1
make[1]: Leaving directory `/root/cross_compiler/binutils-2.9.1/libiberty'
make: *** [all-libiberty] Error 2
regards,
Hemanth
MACIL
Electronics city
Bangalore
^ permalink raw reply [flat|nested] 4+ messages in thread
* querries on cross compiler
@ 2004-07-07 3:22 ` hemanth
0 siblings, 0 replies; 4+ messages in thread
From: hemanth @ 2004-07-07 3:22 UTC (permalink / raw)
To: linux-mips
Hi,
Iam trying to build a cross compiler for MIPS processor on
"i686-pc-linux-gcc" host. Iam getting some errors during the installation of
BINUTILS(binutils-2.9.1) i.e, after configure, when I type "make" Iam
getting errors. Can u please suggest how to remove these errors.
These are the errors,
root@localhost binutils-2.9.1]# make
make[1]: Entering directory `/root/cross_compiler/binutils-2.9.1/libiberty'
if [ -n "" ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
echo "# !Automatically generated from ./functions.def"\
"- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
| sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
| sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
gcc -c -g -O2 -I. -I./../include ./dummy.c 2>/dev/null
make[1]: *** [dummy.o] Error 1
make[1]: Leaving directory `/root/cross_compiler/binutils-2.9.1/libiberty'
make: *** [all-libiberty] Error 2
regards,
Hemanth
MACIL
Electronics city
Bangalore
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: querries on cross compiler
@ 2004-07-07 14:40 ` Kaj-Michael Lang
0 siblings, 0 replies; 4+ messages in thread
From: Kaj-Michael Lang @ 2004-07-07 14:40 UTC (permalink / raw)
To: linux-mips
> Iam trying to build a cross compiler for MIPS processor on
> "i686-pc-linux-gcc" host. Iam getting some errors during the installation
of
> BINUTILS(binutils-2.9.1) i.e, after configure, when I type "make" Iam
> getting errors. Can u please suggest how to remove these errors.
That binutils is extremly old, try using something a little more uptodate...
I'd recommend using crosstool to build you cross compiler.
--
Kaj-Michael Lang , milang@tal.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: querries on cross compiler
@ 2004-07-07 14:40 ` Kaj-Michael Lang
0 siblings, 0 replies; 4+ messages in thread
From: Kaj-Michael Lang @ 2004-07-07 14:40 UTC (permalink / raw)
To: linux-mips
> Iam trying to build a cross compiler for MIPS processor on
> "i686-pc-linux-gcc" host. Iam getting some errors during the installation
of
> BINUTILS(binutils-2.9.1) i.e, after configure, when I type "make" Iam
> getting errors. Can u please suggest how to remove these errors.
That binutils is extremly old, try using something a little more uptodate...
I'd recommend using crosstool to build you cross compiler.
--
Kaj-Michael Lang , milang@tal.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-07 14:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-07 3:22 querries on cross compiler hemanth
2004-07-07 3:22 ` hemanth
2004-07-07 14:40 ` Kaj-Michael Lang
2004-07-07 14:40 ` Kaj-Michael Lang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.