Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!gatech!emory!ogicse!psgrain!ee.und.ac.za!ucthpx!comgate.ee.uct.ac.za!crawford From: crawford@comgate.ee.uct.ac.za (Brian Crawford) Newsgroups: comp.os.386bsd.questions Subject: another gcc-2.3.3 compile error: protoize.c Message-ID: <1993May5.064130.23556@ucthpx.uct.ac.za> Date: 5 May 93 06:41:30 GMT Article-I.D.: ucthpx.1993May5.064130.23556 Sender: news@ucthpx.uct.ac.za (UCT News Admin.) Organization: University of Cape Town Lines: 57 X-Newsreader: Tin 1.1 PL4 System here is a 486/33 running 386bsd r0.1(patched) Someone on the net has provided the following instructions for compiling gcc 2.3.3: 0. tar xvfz gcc-2.3.3.tar.Z; cd gcc-2.3.3 1. ./configure i386--bsd --with-gnu-ld 2. make LANGUAGES=c (ignore the problem that enquire doesn't compile, it is the last target in the make) 3. make stage1 4. make "CC=./stage1/xgcc -B./stage1/" CFLAGS="-g -O" (ignore the error code 4 from enquire (four constants are imprecise) 5. make stage2 (you can now remove the stage1 directory, if you wish) 6. make "CC=./stage2/xgcc -B./stage2/" CFLAGS="-g -O" (ignore the error code 4 from enquire (four constants are imprecise) 7. make compare 8. make install 9. edit /usr/local/lib/gcc-lib/i386--bsd/2.3.3/include/float.h to correct for the enquire problems. DBL_MIN should end in 14 DBL_MAX should end in 57 While doing step 4, the following error was encountered: if [ -f libgcc2.ready ] ; then true; else touch libgcc2.ready; fi /stage1/xgcc -B./stage1/ -c -DIN_GCC -g -O -I. -I. -I./config unprotoize c In file included from unprotoize.c:1: protoize.c:278: 'GPLUSPLUS_INCLUDE_DIR' undeclared, outside of functions protoize.c:279: 'GCC_INCLUDE_DIR' undeclared, outside of functions *** Error code 1 Stop. If anyone has, in fact, encountered this error please let me know what was done to correct it. Gads, looks like I've opened yet another can of worms here :) ------------------------------------------------------------------------------ Brian Crawford KL7JDQ Phone: +27 21 650 3467 /------\ Dept. Electrical Engineering Fax: +27 21 650 3465 / \_ University of Cape Town Email: crawford@eleceng.uct.ac.za \___ / Private Bag, crawford@comgate.ee.uct.ac.za \ / Rondebosch 7700 \ / South Africa *- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Brian Crawford KL7JDQ Phone: +27 21 650 3467 /------\ Dept. Electrical Engineering Fax: +27 21 650 3465 / \_ University of Cape Town Email: crawford@eleceng.uct.ac.za \___ / Private Bag, crawford@comgate.ee.uct.ac.za \ / Rondebosch 7700 \ / South Africa *- ------------------------------------------------------------------------------