delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/14/14:24:06

Date: Sat, 14 Jul 2001 21:23:33 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: BNCarper AT cs DOT com
Message-Id: <7048-Sat14Jul2001212332+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <a.f91e62b.2881d0fc@cs.com> (BNCarper@cs.com)
Subject: Re: Using .lib files
References: <a DOT f91e62b DOT 2881d0fc AT cs DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: BNCarper AT cs DOT com
> Date: Sat, 14 Jul 2001 12:44:44 EDT
> 
> > I'm trying to build some custom software for my CCD Astronomy camera.  The 
> > mfg. provides a header file (.h) and a library file (.lib) for persons 
> > wanting to write the software in DOS.  They then provide several .dll for 
> Win 
> > 32 programming using MSVC or VB. I have already written some of the 
> software 
> > in MSVC 6.0 but I have always preferred using DJGPP.
> 
> >Did you try any of the methods listed in section 17.5 of the FAQ?  They 
> >are you only hope.
> 
> Thanks for your help.  I have found where the mfg. has let someone build the 
> library in LINUX, so I have a library file in .a format.  Can I use that in 
> DJGPP?

No, I don't think so.  It is probably not in COFF format, and even if
you convert it to COFF, a library normally references some identifiers
private to the compiler.

The best alternative for you would be to find a source for this
library and build it with DJGPP.

> I have tried but the header file has the following code at the end of 
> the header file.  I can't seem to get the program to find the 
> ParDrvCommand().  Do I need to change the ENV_DOS to DJGPP somehow?

I don't think it will help.

- Raw text -


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