🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1597

Compiling GNUPLOT with Topspeed C - Got it!

#1597
From: David Hinds
Date: Wed, 18 Jul 1990 17:10
19 lines
1471 bytes
Well, I've got GNUPLOT working fine now.  I am very impressed with the
Topspeed compiler.  GNUPLOT.EXE tips the scales at 147K; the executable
that is packed with the archive was 296K as generated by Turbo C!  When
I include full debugging code (including null pointer checking, stack
overflow checking, and source debugger support), it goes up to 180K.
Has anyone built this with MSC?  How does it compare?
To get GNUPLOT to compile, I had to:
    1. Change the 'matherr' routine name to something else to avoid a
       conflict with a library routine of the same name, and add code
       to the start of main() to enable this error handler.
    2. Create a *.h file for each *.asm file, which declares each of
       the assembler routines as requiring C calling conventions.
    3. Change the declaration of the line drawing function pointer
       in the PC_putc routine of 'pc.trm' to force C calling format.
I assembled all the *.asm files with turbo assembler.  If you want more
details, E-mail me.

 -David Hinds
  dhinds@popserver.stanford.edu
Technical Details
Message-ID: <1990Jul18.171005.8884@portia.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!shelby!portia.stanford.edu!dhinds

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!shelby!portia.stanford.edu!dhinds
From: dhinds@portia.Stanford.EDU (David Hinds)
Newsgroups: comp.os.msdos.programmer
Subject: Compiling GNUPLOT with Topspeed C - Got it!
Message-ID: <1990Jul18.171005.8884@portia.Stanford.EDU>
Date: 18 Jul 90 17:10:05 GMT
Sender: dhinds@portia.Stanford.EDU (David Hinds)
Organization: AIR, Stanford University
Lines: 19