delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/02/01/02:00:56

X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs-
Delivered-To: pcg AT goof DOT com
From: nuke AT bayside DOT net
X-Authentication-Warning: nuklear.steelcity.net: nuke owned process doing -bs
Date: Sun, 1 Feb 1998 09:52:28 +0000 (GMT)
X-Sender: nuke AT nuklear DOT steelcity DOT net
To: beastium-list AT Desk DOT nl
Subject: pgcc-980129 compile problem
Message-ID: <Pine.LNX.3.96.980201094903.12787A-100000@nuklear.steelcity.net>
MIME-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 45

i get this compiling the latest pgcc:

make[1]: Entering directory `/usr/src/egcs-980129/gcc'
rm -f tmplibgcc1.a
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3
_ashlsi3 _divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _fixdfsi _fixsfsi
_floatsidf _floatsisf _truncdfsf2 _extendsfdf2 _addsf3 _negsf2 _subsf3
_mulsf3 _divsf3 _eqdf2 _nedf2
_gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2; \
do \
  echo ${name}; \
  rm -f ${name}.o; \
  cc -DIN_LIBGCC1 -O -I. -I. -I./config -c -DL${name} ./libgcc1.c; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  ar qc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_mulsi3
cpp: Usage: cpp [switches] input output
make[1]: *** [libgcc1.a] Error 1
make[1]: Leaving directory `/usr/src/egcs-980129/gcc'
make: *** [all-gcc] Error 2

---
after linking cpp to /bin/echo, i see that this is happening:
(excess stuff was clipped)
---
_mulsi3
-lang-c -I. -I. -I./config -undef -D__GNUC__=2 -D__GNUC_MINOR__=7
-D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix
-D__linux -Asystem(posix) -D__OPTIMIZE__ -Di386 -Di586 -Asystem(unix)
-Acpu(i386) -Amachine(i386) -D__i386__ -D__i586__ -Asystem(unix)__
-Acpu(i386)__ -Amachine(i386)__ __ __ __ __ __ __
__ __ __ __ __ __ __ __ -DIN_LIBGCC1 -DL_mulsi3 ./libgcc1.c
/tmp/cca13517.i
cc1: /tmp/cca13517.i: No such file or directory
make[1]: *** [libgcc1.a] Error 1
make[1]: Leaving directory `/usr/src/egcs-980129/gcc'
make: *** [all-gcc] Error 2

---
those __'s aren't valid cpp options, and they're messing things up
i really have no idea why it's doing this. if it helps, i'm using
linux-2.1.84 with glibc-2.0.6

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019