Article View: gnu.g++.lib.bug
Article #265libg++ install probs on amigaunix
From: Won Y. Kim
Date: Wed, 19 Aug 1992 02:47
Date: Wed, 19 Aug 1992 02:47
71 lines
3349 bytes
3349 bytes
AS promised, this is the outfile from make runn after "configure
amigaunix) on the base libg++-2.2/ directory.
Any hints or suggestiona are greatly welcome!
gcc version on my home system is 1.40.5
echo "# !Automatically generated from ./functions.def"\
"- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
| sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf
\"#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
| sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf
\"#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
cc -c -g -I. -I./../include -DUSG -DUSGr4 ./dummy.c
(cc dummy.o ) >errors 2>&1 || true
rm -f a.out dummy.o
echo "/* !Automatically generated from ./functions.def"\
"- DO NOT EDIT! */" >config.h
awk -f needed2.awk <errors >>config.h
cc -c -g -I. -I./../include -DUSG -DUSGr4 basename.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 getopt.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 getopt1.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 obstack.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 spaces.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 concat.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 fdmatch.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 argv.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 strerror.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 strsignal.c
echo "# !Automatically generated from ./functions.def"\
"- DO NOT EDIT!" >needed.awk
grep '^DEF(' < ./functions.def \
| sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { printf \"\1\.o "
}|' \
>>needed.awk
awk -f needed.awk <errors >needed-list
echo >>needed-list
cc -c -g -I. -I./../include -DUSG -DUSGr4 index.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 sigsetmask.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 alloca.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 getpagesize.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 bcmp.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 bzero.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 bcopy.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 random.c
cc -c -g -I. -I./../include -DUSG -DUSGr4 rindex.c
rm -rf libiberty.a
ar cq libiberty.a \
basename.o getopt.o getopt1.o obstack.o spaces.o concat.o
fdmatch.o argv.o strerror.o strsignal.o index.o sigsetmask.o alloca.o
getpagesize.o bcmp.o bzero.o bcopy.o random.o index.o rindex.o
true libiberty.a
rootme=`pwd` ; export rootme; CC="cc `if [ -f
${rootme}/../gcc/gcc ] ; \
then echo -I${rootme}/../gcc/include ; \
else echo ; fi`"; export CC; \
./utils/gen-params >tmp-params.h
*** Error code 1 (bu21)
*** Error code 1 (bu21)
It also gave these erors onn the console
gcc: dummy.C linker innput file not used linking not done.
then
nm failed to find FUNC in dummy.o!
./utils/gen=params -1 bad number
Thanks
WYK!
Technical Details
Message-ID:
<CMM.0.90.2.714192420.won@zanaga.cs.columbia.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!zanaga.cs.columbia.edu!wonShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!zanaga.cs.columbia.edu!won From: won@zanaga.cs.columbia.edu (Won Y. Kim) Subject: libg++ install probs on amigaunix Message-ID: <CMM.0.90.2.714192420.won@zanaga.cs.columbia.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 19 Aug 1992 02:47:00 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 72