Article View: gnu.utils.bug
Article #711shellutils 1.7
From: Marty Leisner 311/? x?
Date: Tue, 01 Sep 1992 15:04
Date: Tue, 01 Sep 1992 15:04
56 lines
3037 bytes
3037 bytes
I just got shellutils 1.7 up and running on a sparcstation (OS 4.1.1B, gcc 2.2.2)
There should be n easier way to get version information -- I tried
grep shellutils /usr/local/bin/basename
and it dumped the symbol table to my screen. At least, how about an RCS
keybword in each file so I can ident it?
Also, I just began to look texinfo documentation in Emacs. I'm confused about whether
GNU wants man pages or texinfo docs (or both in some cases...)
I had problems making it...
for dir in lib src man; do echo making all in $dir; cd $dir; make bindir='/usr/gnu/bin' mandir='/us
r/gnu/man/man1' manext='1' binprefix='' manprefix='' LIBS='' AR='ar' RANLIB='ranlib' INSTALL_PROGRA
M='/usr/gnu/bin/install -c' INSTALL_DATA='/usr/gnu/bin/install -c -m 644' DEFS='-DHAVE_LIMITS_H=1 -
DHAVE_SYSLOG_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_FTIME=1 -DHAVE_UT_HOST=1 -DHAVE_C_LINE=1
-DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_TM_ZONE=1 -DDIRENT=1' CFLAGS='-g' LDFLAGS='-g' LIBS='' C
C='gcc -O' all; cd ..; done
making all in lib
make[1]: Entering directory `/a/rockwell/root/dk3g/gnu/src/shellutils-1.7/lib'
gcc -O -c -g -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_FTIME=1
-DHAVE_UT_HOST=1 -DHAVE_C_LINE=1 -DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_TM_ZONE=1 -DDIRENT=1 -I
. strtoul.c
In file included from /usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stdlib.h:10, from ./strtol.c:33, from
strtoul.c:21:
/usr/include/sys/stdtypes.h:27: redefinition of `size_t'
/usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:82: `size_t' previously declared here
/usr/include/sys/stdtypes.h:28: redefinition of `ptrdiff_t'
/usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:45: `ptrdiff_t' previously declared here
/usr/include/sys/stdtypes.h:30: redefinition of `wchar_t'
/usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:120: `wchar_t' previously declared here
make[1]: *** [strtoul.o] Error 1
make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/shellutils
In lib/strtoul.c:
#include <strtol.c>
Shouldn't this be:
#include "strtol.c"
Fixing the above errors, I just took out
#include <stdlib.h>
in strtol.c. I didn't figure out a "righter" way.
Also GNU make has lots of nice features....what is the sense if noone
uses them...
For example,, making rules like this cleaner:
clean:
for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $(MDEFINES) $@; cd ..;
done
Marty leisner.henr801c@xerox.com
Member of the League for Programming Freedom
Give me source or waste my time..
Technical Details
Message-ID:
<9209011504.AA19300@louvre.wbst147.xerox.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!eso.mc.xerox.COM!leisnerShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!eso.mc.xerox.COM!leisner From: leisner@eso.mc.xerox.COM (Marty Leisner 311/? x?) Subject: shellutils 1.7 Message-ID: <9209011504.AA19300@louvre.wbst147.xerox.com> Sender: gnulists@ai.mit.edu Reply-To: leisner.henr801c@xerox.com Organization: Xerox Distribution: gnu Date: Tue, 1 Sep 1992 15:04:41 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 57