cross binutil for sparc-aout problems
Horatio B. Bogbindero
wyy@cersa.admu.edu.ph
Thu Jul 5 20:54:00 GMT 2001
i was able to successfully compile a cross-binutils
for sparc-aout platform before when i compiled it
using gcc-2.96 that came with redhat 7.1.
now, i rebuilt the entire gcc-3.0 on my systems
and tried to recompile the entire binutils-2.10.1
i get the following error after doing a make all
/bin/sh ./libtool --mode=link gcc -g -O2 -W -Wall -o addr2line
addr2line.o bucomm.o version.o filemode.o ../bfd/libbfd.la
../libiberty/libiberty.a
gcc -g -O2 -W -Wall -o addr2line addr2line.o bucomm.o version.o filemode.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o: In function `make_tempname':
/home/wyy/apps/crossgcc-src/binutils-2.10.1/binutils/bucomm.c:246: the use
of `mktemp' is dangerous, better use `mkstemp'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd
-I./../include -I./../intl -I../intl
-DLOCALEDIR="\"/data/javafs/share/locale\"" -g -O2 -W -Wall -c
readelf.c
/bin/sh ./libtool --mode=link gcc -g -O2 -W -Wall -o readelf readelf.o
version.o ../libiberty/libiberty.a
gcc -g -O2 -W -Wall -o readelf readelf.o version.o
../libiberty/libiberty.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd
-I./../include -I./../intl -I../intl
-DLOCALEDIR="\"/data/javafs/share/locale\"" -g -O2 -W -Wall -c nm.c
nm.c:1451:1: directives may not be used inside a macro argument
nm.c:1451:1: unterminated argument list invoking macro "printf"
nm.c: In function `print_symbol_info_bsd':
nm.c:1454: parse error before numeric constant
make[3]: *** [nm.o] Error 1
make[3]: Leaving directory
`/home/wyy/apps/crossgcc-src/binutils-2.10.1/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/wyy/apps/crossgcc-src/binutils-2.10.1/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/home/wyy/apps/crossgcc-src/binutils-2.10.1/binutils'
make: *** [all-binutils] Error 2
my configure line is
./configure --prefix=/usr/sparc --target=sparc-aout
help?
--------------------------------------
William Emmanuel S. Yu
Ateneo Cervini-Eliazo Networks (ACENT)
email : william.s.yu@ieee.org
web : http://cersa.admu.edu.ph/
phone : 63(2)4266001-5925/5904
There is nothing new except what has been forgotten.
-- Marie Antoinette
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list