problems building sparc-netware ld

blacky@xanaxis.dyndns.org blacky@xanaxis.dyndns.org
Sat Apr 1 00:00:00 GMT 2000


Hiya all,

I've been trying to build the binutils for the target sparc-netware,
but during the compile of ld I came across the following error :

gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd -I./../include -I./../intl -I../intl  -g -O2 -W -Wall -DLOCALEDIR="\"/home/blacky/sparc-netware/share/locale\""    -g -O2 -W -Wall -c ldemul.c
In file included from ldemul.c:31:
ldemul-list.h:2: parse error before `-'
ldemul.c:235: `ld_sparc' undeclared here (not in a function)
ldemul.c:235: `nw_emulation' undeclared here (not in a function)
ldemul.c:235: initializer element for `ld_emulations[0]' is not constant
make[3]: *** [ldemul.o] Error 1


I looked in the ldemul-list.h and saw that there was a '-' sign in
the target-emulation name, so it's interpreted as a subtraction. I
corrected the error by turning the '-' into an '_', but then it
comes with the following error :

gcc -g -O2 -W -Wall -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o esparc-nw.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a
gcc: esparc-nw.o: No such file or directory
make[3]: *** [ld-new] Error 1

Does anyone have a suggestion on how to get ld to compile for sparc-netware ?


Signed, Marco van den Heuvel


------
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