From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meir Hacohen To: gcc@gcc.gnu.org Subject: problem installing gcc 2.95.2 on m68k-coff (fwd) Date: Tue, 19 Sep 2000 23:01:00 -0000 Message-id: X-SW-Source: 2000-09/msg00465.html Hello, I tried to install a GCC cross compiler 2.95 and 2.95.2 for target m68k-coff and I failed. I tried it at HPUX after I succeeded to install the native compiler. I got some compilation errors while the "make" is running. Following are some of the compilation errors I got : ******************************************************************************* gcc -c -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/config/m68k/m68k.c ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `valid_dbcc_comparison_p': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:869: `cc_prev_status' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:869: (Each undeclared identifier is reported only once ../../gcc-2.95.2/gcc/config/m68k/m68k.c:869: for each function it appears in.) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:869: `CC_NO_OVERFLOW' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `flags_in_68881': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:880: `cc_status' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `output_scc_di': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:1010: `CC_STATUS_INIT' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `output_btst': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:1208: `cc_status' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:1208: `CC_NOT_POSITIVE' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:1208: `CC_Z_IN_NOT_N' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:1210: `CC_NOT_NEGATIVE' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `output_move_qimode': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:1651: `CC_STATUS_INIT' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `notice_update_cc': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:2204: `cc_status' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:2210: `CC_STATUS_INIT' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:2284: `CC_NO_OVERFLOW' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c:2291: `CC_NOT_NEGATIVE' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `output_andsi3': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:3298: `CC_STATUS_INIT' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `output_iorsi3': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:3338: `CC_STATUS_INIT' undeclared (first use in this function) ../../gcc-2.95.2/gcc/config/m68k/m68k.c: In function `output_xorsi3': ../../gcc-2.95.2/gcc/config/m68k/m68k.c:3376: `CC_STATUS_INIT' undeclared (first use in this function) make[1]: *** [m68k.o] Error 1 make[1]: Leaving directory `/gnu/gcc-obj/gcc' make: *** [all-gcc] Error 2 ******************************************************************************* Is there a known problem in doing this ? I'll appreciate it very much if you can help me to solve this problem. Regards, Meir ******************************************************************************* Meir Hacohen Tel : +972-8-9133394 PLS-DMS-SIR team Fax : +972-8-9133264 Telrad, Israel e-mail: meir.hacohen@telrad.co.il P.O.B. 50, Lod ESN : 828-3394 *******************************************************************************