🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41663

problems Compiling gcc under linux

#41663
From: Jeff Benger
Date: Sun, 03 Mar 1996 00:00
53 lines
2695 bytes
Hi all, I've been having trouble compiling gcc-2.5.8 on my machine
i'm running(am trying to recompile kernel now) slackware 1.2.1 and
attempting to install gcc on my syts, when i run make stage1 i get these
errors:

if [ -d stage1 ] ; then true ; else mkdir stage1 ; fi
mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c
insn-recog.c insn-emit.c insn-extract.c insn-peep.c insn-attr.h
insn-attrtab.c insn-opinit.c stamp-flags stamp-config stamp-codes
stamp-output stamp-recog stamp-emit stamp-extract stamp-peep stamp-attr
stamp-attrtab stamp-opinit stamp-proto genemit genoutput genrecog
genextract genflags gencodes genconfig genpeep genattrtab genattr
genopinit bc-arity.h bc-opcode.h bc-opname.h stamp-bcarity
stamp-bcopcode stamp-bcopname bi-arity bi-opcode bi-opname xgcc cc1 cpp
gcc-cross cccp g++ g++-cross cc1plus cc1obj enquire protoize unprotoize
specs collect2  stage1
mv: stamp-proto: No such file or directory
mv: gcc-cross: No such file or directory
mv: g++-cross: No such file or directory
mv: cc1plus: No such file or directory
mv: cc1obj: No such file or directory
mv: protoize: No such file or directory
mv: unprotoize: No such file or directory
mv: collect2: No such file or directory
make: [stage1] Error 1 (ignored)
rm -f stage1/libgcc.a
cp libgcc.a stage1
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib
stage1/libgcc.a; else true; fi


i figure hell, i'll try to install with :
      make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" LANGUAGES='c'



and get these errors:
stage1/xgcc -Bstage1/  -DIN_GCC -DPOSIX  -g -O     -I. -I. -I./config \
  -DTARGET_CPU_DEFAULT=2  \
  -c `echo ./toplev.c | sed 's,^\./,,'`
In file included from /usr/include/sys/param.h:4,
                 from toplev.c:36:
/usr/include/limits.h:52: No include path in which to find limits.h
make: *** [toplev.o] Error 1

If anybody could tell me what i'm doing wrong i'd really appreciate
this, i've searched all over the web looking for help in this, but
havne't been able to find anything.  The only thing i can think o is
maybe i need new libs, if so could someone poit me in the right
direction to find the right libs please.

			Thanx
				Jeff Benger
Technical Details
Message-ID: <31392905.67EA9EE3@csa.bu.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d4a54c8b3cb149e9,start
X-Google-Attributes: gid11318c,public
From: Jeff Benger <jbenger@csa.bu.edu>
Subject: problems Compiling gcc under linux
Date: 1996/03/03
Message-ID: <31392905.67EA9EE3@csa.bu.edu>
X-Deja-AN: 141884991
content-type: text/plain; charset=us-ascii
organization: Boston University
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0 (X11; I; Linux 1.2.1 i586)