Message-Id: <9604091847.AA03337@gnu.mc.xerox.com> To: djgpp-workers AT delorie DOT com Subject: should I be able to produce 2/21/96 faq on unix? Date: Tue, 9 Apr 1996 11:47:55 PDT From: "Marty Leisner" I'm not having luck... 1) make enum ./enum (since I don't have . in my path). 2) I added a rule (unixclean) to do: :leisner AT gnu; rcsdiff -u makefile =================================================================== RCS file: makefile,v retrieving revision 1.1 diff -u -r1.1 makefile --- makefile 1996/04/09 13:27:37 1.1 +++ makefile 1996/04/09 13:30:17 @@ -10,7 +10,7 @@ makeinfo --no-split --fill-column 78 -o $@ $< djgppfaq.num: $(SOURCES) enum - enum $< $@ + ./enum $< $@ enum: enum.c gcc -Wall -O2 -s -o $@ $< @@ -52,6 +52,9 @@ clean: command > nul /c for %%f in (*.tmp *.idx *.exe *.num enum htmsplit djgppfaq.htm) do if exist %%f del %%f + +unixclean: + rm -f *.idx *.tmp *.num enum htmsplit djgppfaq.htm distclean: clean When I try to make: :leisner AT gnu; make gcc -Wall -O2 -s -o enum enum.c enum.c: In function `main': enum.c:65: warning: implicit declaration of function `perror' enum.c:98: warning: implicit declaration of function `fgetc' enum.c:111: warning: implicit declaration of function `fputs' enum.c:112: warning: implicit declaration of function `fprintf' enum.c:129: warning: implicit declaration of function `fclose' ./enum djgppfaq.txi djgppfaq.num djgppfaq.txi has 25 chapters makeinfo --no-split --fill-column 78 -o djgppfaq.info djgppfaq.num Making info file `djgppfaq.info' from `djgppfaq.num'. djgppfaq.num:4477: Unknown info command `s:.'. make: *** [djgppfaq.info] Error 2 The file is: 4471 Immediate form long jumps and calls are 4472 @code{@w{lcall/ljmp $SECTION, $OFFSET}} in AT&T syntax; the Intel syntax 4473 is @code{@w{call/jmp far SECTION:OFFSET}}. Also, the far return 4474 instruction is @code{@w{lret $STACK-ADJUST}} in AT&T syntax; Intel synta 4475 is @code{@w{ret far STACK-ADJUST}}. 4476 4477 @item 4478 The AT&T assembler does not provide support for multiple-section (aka 4479 multi-segment) programs. Unix style systems expect all programs to be 4480 single sections. 4481 which looks pretty good (on linux and sunos, it failed in different ways). Is there a newer faq to get? (I didn't see it on ftp.delorie.com). (I ended up printing the html out of netscape...btw ... the faq looks really good). marty leisner AT sdsp DOT mc DOT xerox DOT com Member of the League for Programming Freedom (http://www.lpf.org) Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001