Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: Using a C ....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 777 of 811
Post > Topic >>

Re: Using a C .LIB in Free Pascal

by rugxulo@[EMAIL PROTECTED] Dec 29, 2007 at 11:36 AM

On Dec 22, 5:43=A0pm, Alan <a...@[EMAIL PROTECTED]
> wrote:
> Is it possible to link in a Turbo C v2.0 .LIB for use in Free Pascal?

Not directly. AFAIK, a DOS .LIB is really just a collection of .OBJ
(OMF) files. So you need something that will translate that to DJGPP/
COFF format (assuming you can't just easily recompile) for use with
FPC/DOS.

Try this (needs HX Win32 emulation if running in pure DOS), but I
dunno if it really works perfectly (haven't really tested it):

http://www.agner.org/optimize/#objconv
http://www.japheth.de/HX.html

P.S. See here for links to newer FPC/DOS snapshots (> 2.0.4):

http://www.bttr-software.de/forum/board_entry.php?id=3D2156#p2156
 




 2 Posts in Topic:
Using a C .LIB in Free Pascal
Alan <alan@[EMAIL PROT  2007-12-23 00:43:41 
Re: Using a C .LIB in Free Pascal
rugxulo@[EMAIL PROTECTED]  2007-12-29 11:36:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 13:01:38 CDT 2008.