Article View: comp.os.msdos.programmer
Article #1472Compiling cfortune.zip source code with MSC
From: Alex Prengel
Date: Sat, 12 Sep 1992 14:52
Date: Sat, 12 Sep 1992 14:52
15 lines
1334 bytes
1334 bytes
Hi, I was wondering if anyone has tweaked the C source code for the
fortune program recently posted to various ftp sites (including Simtel)
in cfortune.zip? It looks like straight UNIX code (BSD?) and seems to
have all kinds of assumptions about ints and pointers being 32 bits
etc. etc. I am trying to get it working using MSC 6.0a on an XT clone
(don't laugh..) and I almost have it working, by changing a bunch of
ints to longs, but there are still some frustrating bugs I can't seem
to find. I have tried various memory models (including huge).
Executables would be nice, but source (diffs OK) would be my first choice;
also a makefile or the exact compiler switches you used. Thanks in
advance for any help, or pointers to ftp sites where the above could
be found!
Alex Prengel, Jr.
alexp@chaos.cs.brandeis.edu
Technical Details
Message-ID:
<1992Sep12.145227.23756@news.cs.brandeis.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!alexpShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.lang.c Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!alexp From: alexp@chaos.cs.brandeis.edu (Alex Prengel) Subject: Compiling cfortune.zip source code with MSC Message-ID: <1992Sep12.145227.23756@news.cs.brandeis.edu> Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University Date: Sat, 12 Sep 1992 14:52:27 GMT Lines: 16