Thread View: comp.os.eunice
1 messages
1 total messages
Started by steve emmerson
Fri, 14 Apr 1989 12:58
4.3.2 vmsld(1) & f{puts,printf} bug
Author: steve emmerson
Date: Fri, 14 Apr 1989 12:58
Date: Fri, 14 Apr 1989 12:58
46 lines
1992 bytes
1992 bytes
I've just received confirmation from the TWG support group on a EUNICE
4.3.2 vmsld(1) bug report I sent them. They've also sent me a workaround
and I have one of my own.
PROBLEM:
Fputs(3) and fprintf(3) won't work when built under vmsld(1).
REPEAT BY:
Use this program ("a.c"):
#include <stdio.h>
main()
{
puts("puts works");
fputs("fputs works\n", sdtout);
printf("printf works\n");
fprintf(stdout, "fprintf works\n");
}
Build and run it (note missing output):
% /usr/eun/vmscc -c a.c
% /usr/eun/vmsld a.c
% a.out
puts works
printf works
WORKAROUND:
TWG's:
% cc -S -R a.c # assembler source to "a.s"
% /usr/eun/vmsas -o a.obj a.s
% suspend
$ link a.obj,twg$usr:[libvms]crt0.obj,libc/lib
$ resume
Mine:
Use the vmsld(1) that came with the original EUNICE 4.3BSD release.
It works for the above program. I just asked TWG support if they
foresee any problems with this approach and will inform you of
their response.
P.S. Why is this newsgroup so quiescent?
--
Steve Emmerson Inet: steve@umigw.miami.edu [128.116.10.1]
SPAN: miami::emmerson (host 3074::) emmerson%miami.span@star.stanford.edu
UUCP: ...!ncar!umigw!steve emmerson%miami.span@vlsi.jpl.nasa.gov
"Computers are like God in the Old Testament: lots of rules and no mercy"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads