www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/05/06:01:30

From: Ulrich Lauther <lauther AT borel DOT zfe DOT siemens DOT de>
Subject: compatibility with other libraries ?
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp mailing list)
Date: Fri, 5 May 1995 09:56:36 +0200 (MET DST)

I have a question on compatibility with libraries compiled with other C-compilers:

I am planning to use the commercial CPLEX linear programming package, which comes
as a "callable library". The CPLEX-people gave me the following statement:

> ......  If DOS
> is the OS you wish to evaluate on we are doubtful that the GCC compiler
> will be suitable.  The DOS Callable Library is based upon the 32-bit
> Watcom C/C++ compiler.  It requires the Phar Lap DOS extender to enable
> execution under 16-bit DOS.  This implies that your GCC compiler would
> also have to generate 32-bit Phar Lap object code modules for linking with
> the Phar Lap linker.  All of the code in the GCC C library would have to
> be 100% consistent with Watcom.  This seems unlikely.
> 
> The only likely compatibility might be under Windows.  The Windows 3.1
> CPLEX Library is provided in both static and DLL form (still 32-bit). If
> GCC can call a regular windows DLL it would be able to access the Windows-based
> library.
> 
As I am very unexpierienced when it comes to DOS and WINDOWS, could I get advice,
whether the combination djgpp-compiled code and CPLEX-code could work, either under
DOS or under Window 3.1 ?

Thank you

	-ulrich


-- 
----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZFE BT SE 14    Internet: lauther AT ztivax DOT zfe DOT siemens DOT de

- Raw text -


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