This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
--target=pdp11-dec-bsd doesn't work
- To: gcc-bugs at gcc dot gnu dot org
- Subject: --target=pdp11-dec-bsd doesn't work
- From: lars brinkhoff <lars at nocrew dot org>
- Date: 04 May 2000 13:39:26 +0200
I'm trying to build a cross-compiler for pdp11-dec-bsd.
GCC version (used to build the cross-compiler):
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
GCC version (cross-compiler itself):
gcc version 2.95.2 19991024 (release)
Machine:
i686 PC, Linux 2.2.5, GNU libc 2.1.1.
Configuration command:
./configure --target=pdp11-dec-bsd
(pdp11-dec-none gives same results)
After configuring, I type 'make' and get:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
[...]
make[2]: Entering directory `/users/swg/labr/tmp/tmp/gcc-2.95.2/gcc/f'
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -I. -I.. -I. -I./.. -I./../config -I./../../include bad.c
In file included from info.h:108,
from bld.h:116,
from com.h:229,
from bad.c:42:
target.h:48: #error "g77 requires ability to access exact FP representation of target machine"
make[2]: *** [bad.o] Error 1
make[2]: Leaving directory `/users/swg/labr/tmp/tmp/gcc-2.95.2/gcc/f'
make[1]: *** [f771] Error 2
make[1]: Leaving directory `/users/swg/labr/tmp/tmp/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Applying this patch:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
--- gcc/f/old.target.h Thu May 4 11:28:43 2000
+++ gcc/f/target.h Thu May 4 11:28:56 2000
@@ -45,7 +45,7 @@
#if !defined (REAL_ARITHMETIC) \
&& ((TARGET_FLOAT_FORMAT != HOST_FLOAT_FORMAT) \
|| (FLOAT_WORDS_BIG_ENDIAN != HOST_FLOAT_WORDS_BIG_ENDIAN))
-#error "g77 requires ability to access exact FP representation of target machine"
+//#error "g77 requires ability to access exact FP representation of target machine"
#endif
/* Simple definitions and enumerations. */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and typing 'make' again, I get:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
[...]
make[2]: Entering directory `/users/swg/labr/tmp/tmp/gcc-2.95.2/gcc/f'
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -I. -I.. -I. -I./.. -I./../config -I./../../include bad.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -I. -I.. -I. -I./.. -I./../config -I./../../include bit.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -I. -I.. -I. -I./.. -I./../config -I./../../include bld.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -I. -I.. -I. -I./.. -I./../config -I./../../include com.c
In file included from com.c:198:
com.h:137: #error Cannot find a suitable type for FFECOM_f2cINTEGER
com.h:145: #error Cannot find a suitable type for FFECOM_f2cLONGINT
make[2]: *** [com.o] Error 1
make[2]: Leaving directory `/users/swg/labr/tmp/tmp/gcc-2.95.2/gcc/f'
make[1]: *** [f771] Error 2
make[1]: Leaving directory `/users/swg/labr/tmp/tmp/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^