Mail Archives: djgpp/1999/02/17/04:07:45
--------------AE8D1DD62756F6DDA97984F6
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I'm begining to work with djgpp and I have a question about DLL=B4s.
I've installed the djgpp basic package and the rsxntdj package. I can
compile c programs and then link them in a exe file. But when I try to
execute it I've got this error:
SIGSEGV
I've found that it is a problem with the libraries. I read that the
linker (ld.exe) supplied with RSXNTDJ doesn't print any messages if some
of the functions are missing at link time.
For that reason I use the DJGPP's version of ld.exe to link the program,
and look up every function about which the linker complains as being
``unresolved'' or ``undefined''.
I've found that these functions are in DLL`s, but I don't know how to
link a dll.
I try to convert a DLL to a library with the function makelib, but I
can't because the makelib always put \\ before the name of the library
I want to create and in windows 95 it is an error.
Exemple:
makelib odbc32.dll
Error: Can=B4t create c:\windows\system\\odbc32.a
|
|
This is the problem
Please, can anyone help me with this problem??
Thank you in advanced.
Noelia Soleres
email:noelia AT informix DOT com
Barcelona, Spain
--------------AE8D1DD62756F6DDA97984F6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I'm begining to work with djgpp and I have a question about DLL´s.
<br>I've installed the djgpp basic package and the rsxntdj package. I can
compile c programs and then link them in a exe file. But when I try to
execute it I've got this error:
<p>
SIGSEGV
<p>I've found that it is a problem with the libraries. I read that the
linker (ld.exe) supplied with RSXNTDJ doesn't print any messages if some
of the functions are missing at link time.
<br>For that reason I use the DJGPP's version of ld.exe to link the program,
and look up every function about which the linker complains as being ``unresolved''
or ``undefined''.
<br>I've found that these functions are in DLL`s, but I don't know <u>how
to link a dll</u>.
<p>I try to convert a DLL to a library with the function <b>makelib</b>,
but I can't because the makelib always put <b> \\</b> before the name
of the library I want to create and in windows 95 it is an error.
<br>Exemple:
<br>
<b>makelib odbc32.dll</b>
<br>
<b>Error: Can´t create c:\windows\system\\odbc32.a</b>
<br><b>
|</b>
<br><b>
|</b>
<br><b>
</b>This is the problem<b></b><b></b>
<p>Please, can anyone help me with this problem??
<p>Thank you in advanced.
<p>Noelia Soleres
<br>email:noelia AT informix DOT com
<br>Barcelona, Spain</html>
--------------AE8D1DD62756F6DDA97984F6--
- Raw text -