Article View: gnu.gcc.bug
Article #1359gcc-2.3.1 config problem
From: Clary Harridge
Date: Wed, 11 Nov 1992 21:08
Date: Wed, 11 Nov 1992 21:08
35 lines
1840 bytes
1840 bytes
Hi I encountered the following problem
trying to build gcc-2.3.1 on a Sony news 3860 running NewsOS 4.1R
**
configure --target=mips-news-newsos4.1
**
stage2/xgcc -Bstage2/ -DIN_GCC -g -O -I. -I. -I./config -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" -DSTANDARD_BIN_PREFIX=\"/usr/local/bin/\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" -DDEFAULT_TARGET_MACHINE=\"mips-news-newsos4.1\" -c `echo ./collect2.c | sed 's,^\./,,'`
In file included from collect2.c:111:
/usr/include/ldfcn.h:129: warning: `FREAD' redefined
/usr/include/sys/file.h:52: warning: this is the location of the previous definition
/usr/include/ldfcn.h:132: warning: `FWRITE' redefined
/usr/include/sys/file.h:53: warning: this is the location of the previous definition
**
I made the following change
diff -r1.1 collect2.c
106c106,107
< #if defined (_AIX) || defined (USG)
---
> /* add mips for Sony news3800 C.H. */
> #if defined (_AIX) || defined (USG) || defined (mips)
I guess something more specific than (mips) would be better?
**
make compare fails?
I am not using the `-mno-mips-tfile' option mentioned in section
10. of the INSTALL document.
--
regards Dept. of Electrical Engineering,
Clary Harridge University of Queensland, QLD, Australia, 4072
Phone: +61-7-365-3636 Fax: +61-7-365-4999
INTERNET: clary@s1.elec.uq.oz.au
Technical Details
Message-ID:
<9211110608.AA11431@s1.elec.uq.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!s1.elec.uq.oz.au!claryShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!s1.elec.uq.oz.au!clary From: clary@s1.elec.uq.oz.au (Clary Harridge) Subject: gcc-2.3.1 config problem Message-ID: <9211110608.AA11431@s1.elec.uq.oz.au> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 11 Nov 1992 21:08:22 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 36