[fpc-pascal] Re: Help needed with interfacing to C-object-files.

Jeff Pohlmeyer yetanothergeek at yahoo.com
Wed Mar 9 13:43:03 CET 2005


> Let me explain more : the header file is used in at least
> five source-files, so compiling gives (at least) five .o 
> files, but none with the name of the header-file.


>From the command line :

  ar -r libDallas.a  file1.o file2.o ...


and then, in your program:

  {$LINKLIB Dallas}


 - Jeff




-- 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fpc-pascal mailing list