www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/26/05:30:26

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: gehok55 AT hotmail DOT com (Josh)
Newsgroups: comp.os.msdos.djgpp
Subject: can i call pascal procedures from c?
Date: Mon, 25 Feb 2002 08:56:45 GMT
Message-ID: <3c79fb29.17977169@news.westnet.com.au>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: dsp-202-72-132-26.perth.westnet.com.au
X-Trace: quokka.wn.com.au 1014684903 dsp-202-72-132-26.perth.westnet.com.au (25 Feb 2002 16:55:03 +0800)
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have just found out that I have to use pascal to program a robotic
arm for my robotics class. Can I call pascal procedures from C, or is
there someway i can convert them? Can I compile the pascal functions
into object files and link them into a C program at runtime?

Someone else told me that in most enviroments gpc and gcc will be
compatible, since they use the same back ends. Can anyone confirm
this? 

I would like to do as little pascal as possible :)

thanks

-Josh
aek AT wn DOT com DOT au
-Aek
aek AT wn DOT com DOT au

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019