www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/27/17:19:58

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Cesar Rabak <csrabak AT uol DOT com DOT br>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: can i call pascal procedures from c?
Date: Wed, 27 Feb 2002 18:35:00 -0300
Lines: 18
Message-ID: <3C7D5104.4FEE945B@uol.com.br>
References: <3c79fb29 DOT 17977169 AT news DOT westnet DOT com DOT au>
NNTP-Posting-Host: 200-221-14-196.dsl-sp.uol.com.br (200.221.14.196)
Mime-Version: 1.0
X-Trace: fu-berlin.de 1014845808 8172424 200.221.14.196 (16 [39218])
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: pt-BR,es,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Josh wrote:
> 
> 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?
> 

If you have canonically installed gpc, give a look at the file
'gpc-in-c.h' in the C:\djgpp\lib\gcc-lib\djgpp\<version>\include\
directory.

HTH

-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/

- Raw text -


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