From: Tudor Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro.h to GNU Pascal unit conversion? Date: Tue, 04 Mar 1997 15:25:44 -0800 Organization: Communications Accesibles Montreal Lines: 16 Message-ID: <331CAF78.E1D@cam.org> References: <5fdfjo$bkb$1 AT canopus DOT cc DOT umanitoba DOT ca> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynamicppp-150.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Kevin Bagnall wrote: > Later I might convert the entire allegro.h file. I'm probably not the right > person to do this since I've only written two small C programs in my life and > I'm new to both DJGPP and GNU Pascal(but not pascal). Well,one thing I didn't understand first about C was the header stuff... The thing is ,in Pascal a unit contains the actual code of the functions but in C a header is just a file for declaring stuff. A unit is like a library. But I think you can include GCC code in a GNU pascal program. So you could link your pascal program using the allegro lib. Is this what you wanted? > -Kevin Bagnall -- tudor 'at' cam 'dot' org http://www.cam.org/~tudor 'This is Scott Nudds of the Borg. C is irrelevant.'