Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Mike Rendell
Fri, 06 Nov 1992 10:35
Problem with mips-mips-riscos5bsd target, +fix
Author: Mike Rendell
Date: Fri, 06 Nov 1992 10:35
Date: Fri, 06 Nov 1992 10:35
73 lines
2653 bytes
2653 bytes
Environment: gcc 2.3.1 on Mips M/120 running Risc/os 5.00 When compiling gcc with target mips-mips-riscos5bsd, the compile fails in stage 2 because the rusage structure is not defined. This problem occurs because _SYSTYPE_BSD43 is not defined in the CPP_PREDEFINES in config/mips-5bsd.h (SYSTYPE_BSD43 is, but both are needed). The following diffs fix this problem and similar problems in the svr4 and sysv environments. *** mips-5bsd.h.orig Sat Sep 26 19:32:54 1992 --- mips-5bsd.h Wed Nov 4 14:37:37 1992 *************** *** 19,25 **** #define MIPS_BSD43 ! #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43" #define SYSTEM_INCLUDE_DIR "/bsd43/usr/include" --- 19,26 ---- #define MIPS_BSD43 ! #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43 \ ! -D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_BSD43" #define SYSTEM_INCLUDE_DIR "/bsd43/usr/include" *** mips-5svr4.h.orig Sat Sep 26 19:32:56 1992 --- mips-5svr4.h Wed Nov 4 14:37:50 1992 *************** *** 19,25 **** #define MIPS_SVR4 ! #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SVR4" #define SYSTEM_INCLUDE_DIR "/svr4/usr/include" --- 19,26 ---- #define MIPS_SVR4 ! #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SVR4 \ ! -D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_SVR4" #define SYSTEM_INCLUDE_DIR "/svr4/usr/include" *** mips-5sysv.h.orig Sat Sep 26 19:32:57 1992 --- mips-5sysv.h Wed Nov 4 14:37:56 1992 *************** *** 19,25 **** #define MIPS_SYSV ! #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SYSV" #define SYSTEM_INCLUDE_DIR "/sysv/usr/include" --- 19,26 ---- #define MIPS_SYSV ! #define CPP_PREDEFINES "-Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_SYSV \ ! -D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_SYSV" #define SYSTEM_INCLUDE_DIR "/sysv/usr/include" -- Michael Rendell - Dept. of Comp. Sci., Memorial University of Newfoundland
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads