Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Oliver Oberschelp" To: Subject: Problems with dll-generation under Win98 Date: Wed, 7 Jul 1999 11:48:59 +0200 Message-ID: <000501bec85d$f06ad700$91a0ea83@mlap-pc45.uni-paderborn.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Hello, I've got a strange problem with building dlls under Win98. Considering the following example for a batch file: ++++++++++++++++ SET GCC_EXEC_PREFIX=C:\Praktikum_RT2\mingw32\lib\gcc-lib\ SET LIBRARY_PATH=C:\Praktikum_RT2\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66; C:\Praktikum_RT2\mingw32\i386-mingw32\lib;C:\Praktikum_RT2\mingw32\lib SET C_INCLUDE_PATH=C:\Praktikum_RT2\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.6 6\include;C:\Praktikum_RT2\mingw32\i386-mingw32\include;C:\Praktikum_RT2\min gw32\include SET CPLUS_INCLUDE_PATH=%C_INCLUDE_PATH%;C:\Praktikum_RT2\mingw32\include\g++ SET OBJC_INCLUDE_PATH=%C_INCLUDE_PATH% gcc -c -IC:\Praktikum_RT2\CAMeL-VIEW\CSources actuator.c echo INPUT(C:\Praktikum_RT2\CAMeL-VIEW\CSources\dsc_math.o) > ACTUATOR.lnk echo INPUT(C:\Praktikum_RT2\CAMeL-VIEW\CSources\s_intpol.o) >> ACTUATOR.lnk echo INPUT(C:\Praktikum_RT2\CAMeL-VIEW\CSources\dllinit.o) >> ACTUATOR.lnk echo INPUT(actuator.o) >> ACTUATOR.lnk echo LIBRARY ACTUATOR > ACTUATOR.def echo EXPORTS >> ACTUATOR.def echo model=model AT 0 >> ACTUATOR.def gcc -mdll -o jnk.dll -Wl,--base-file,ACTUATOR.bas,ACTUATOR.lnk dlltool --dllname ACTUATOR.dll --base-file ACTUATOR.bas --output-exp ACTUATOR.exp --def ACTUATOR.def gcc -mdll -o jnk.dll -Wl,--base-file,ACTUATOR.bas,ACTUATOR.lnk ACTUATOR.exp +++++++++++++++++ The jnk.dll is loadable when generated under NT in the program running NT. The jnk.dll is loadable when generated under 98 in the program running NT. The jnk.dll is loadable when generated under NT in the program running 98. The jnk.dll is NOT loadable when generated under 98 in the program running 98. (But we must have this constellation! :( ) We've checked the contents of the object-files - they are identical, but not the ACTUATOR.exp. Is it a known problem? Is there a solution? MfG. Oliver Oberschelp --------------- Dipl.-Ing. Oliver Oberschelp E-Mail: mailto:Oliver DOT Oberschelp AT mlap DOT de Dienstlich: Pohlweg 55 33098 Paderborn Tel.: +49-5251-60-2416 FAX: +49-5251-60-3550 Privat: Soester Weg 1 33129 Delbrück Tel.: +49-5250-934494 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com