emb978@leah.Albany.Edu (Eric M. Boehm) (08/27/88)
I posted a message a short time ago <936@leah.Albany.EDU> concerning problems with the library order under 1.3. In response, the order of libc.a was e-mailed to me. However, some problems arose. 1. The following files are listed in the library order, but I don't have them nor can I remember even seeing any references to them: _dup.s mon.s strhp.s fat.s trp.s stop.s ret6.s ret8.s lfr6.s lfr8.s retarea.s blm.s vars.s return.s cmi4.s 2. Someone else e-mailed a message to me to the effect that the 1.1 compiler won't recognize nested defines. This problem arises in stdio.h. Under 1.2 we had: #define getchar() getc(stdin) #define putchar(c) putc(c,stdout) #define fgetc(f) getc(f) #define fputc(c,f) putc(c,f) The diff for 1.3 made this: #define getchar() getc(stdin) #define putchar(c) putc(c,stdout) #define getc(f) fgetc(f) #define putc(c,f) fputc(c,f) I edited this to read: #define getchar() fgetc(stdin) #define putchar(c) fputc(c,stdout) #define getc(f) fgetc(f) #define putc(c,f) fputc(c,f) I then recompiled all the library sources, put them in libc.a in the order that was specified and the result is: unresolved externals _putc *Stop I am very confused. I would like to know if anyone has been able to make this work and if so, how? Were the new compiler binaries ever posted? If so, can anyone give me the approximate date or message ID (my FTP access to bugs.nosc.mil is not working at present; if I had the date, I might be able to get it from listserv@ndsuvm)?