Message-ID: <36CA866B.8BE3900C@informix.com> Date: Wed, 17 Feb 1999 10:05:47 +0100 From: Noelia Soleres X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: DLL question Content-Type: multipart/alternative; boundary="------------AE8D1DD62756F6DDA97984F6" Reply-To: djgpp AT delorie DOT com --------------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 I'm begining to work with djgpp and I have a question about DLL´s.
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´t 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--