* Problems building a powerpc-vxworks cross compiler (1)
@ 1998-04-02 2:44 SXTHREE
0 siblings, 0 replies; only message in thread
From: SXTHREE @ 1998-04-02 2:44 UTC (permalink / raw)
To: egcs
Compilation of libgcc2 failed:
--->
for file in ../../egcs-980321/gcc/frame.c fp-bit.c dp-bit.c eabi.S eabi-ctors.c
tramp.S cplib2.txt ; do \
name=`echo ${file} | sed -e 's/[.][cSo]$//' -e 's/[.]asm$//' -e
's/[.]txt$//'`; \
oname=` echo ${name} | sed -e 's,.*/,,'`; \
if [ ${name}.txt = ${file} ]; then \
for f in .. `cat ${file}`; do if [ x${f} != x.. ]; then \
make GCC_FOR_TARGET="/thesee00/gnu/sources/obj/gcc/xgcc
-B/thesee00/gnu/sources/obj/gcc/" \
AR="powerpc-wrs-vxworks5.3-ar" AR_FLAGS="rc" CC="gcc" \
CFLAGS="-g -O2" HOST_PREFIX="" \
HOST_PREFIX_1="loser-" \
LANGUAGES="c c++" \
LIBGCC2_CFLAGS="-O2 -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2
-I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions
-mrelocatable-lib -mno-eabi -mstrict-align" ${f}; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
powerpc-wrs-vxworks5.3-ar rc tmplibgcc2.a ${f}; \
rm -f ${f}; \
else true; \
fi; done; \
else \
echo ${name}; \
if [ ${name}.asm = ${file} ]; then \
cp ${file} ${name}.s || exit 1; file=${name}.s; \
else true; fi; \
/thesee00/gnu/sources/obj/gcc/xgcc -B/thesee00/gnu/sources/obj/gcc/ -O2
-DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fexceptions -mrelocatable-lib -mno-eabi
-mstrict-align -I. -I../../egcs-980321/gcc -I../../egcs-980321/gcc/config -c
${file}; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
powerpc-wrs-vxworks5.3-ar rc tmplibgcc2.a ${oname}.o; \
rm -f ${name}.s ${oname}.o; \
fi; \
done
../../egcs-980321/gcc/frame
fp-bit
dp-bit
eabi
eabi.S: Assembler messages:
eabi.S:135: Error: Relocation cannot be done when using -mrelocatable
eabi.S:136: Error: Relocation cannot be done when using -mrelocatable
eabi.S:137: Error: Relocation cannot be done when using -mrelocatable
eabi.S:138: Error: Relocation cannot be done when using -mrelocatable
eabi.S:141: Error: Relocation cannot be done when using -mrelocatable
make[3]: *** [libgcc2.a] Error 1
>---
config.status:
--->
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../egcs-980321/configure --host=sparc-sun-solaris2.5.1 --prefix=/thesee00/gnu
--target=powerpc-wrs-vxworks5.3 --with-gn
u-as --with-gnu-ld --with-cpu=604 --norecursion
# using "mh-frag"
>---
as version:
GNU assembler 980303 - powerpc-wrs-elf32
(binutil does not support powerpc-wrs-vxworks5.3 target but elf32
works fine)
I think a "-D_RELOCATABLE" flag should be added (or -mrelocatable-lib
may imply -mrelocatable ?).
What do you think about this ?
More PPC VxWorks news later...
FM
FM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-02 2:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-02 2:44 Problems building a powerpc-vxworks cross compiler (1) SXTHREE
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).