From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Oliver Oberschelp" To: Subject: Problems with dll-generation under Win98 Date: Wed, 07 Jul 1999 02:49:00 -0000 Message-id: <000501bec85d$f06ad700$91a0ea83@mlap-pc45.uni-paderborn.de> X-SW-Source: 1999-07/msg00119.html 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@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.Oberschelp@mlap.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@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Oliver Oberschelp" To: Subject: Problems with dll-generation under Win98 Date: Sat, 31 Jul 1999 18:34:00 -0000 Message-ID: <000501bec85d$f06ad700$91a0ea83@mlap-pc45.uni-paderborn.de> X-SW-Source: 1999-07n/msg00119.html Message-ID: <19990731183400.a6vcEVdCN9HukhLekKuFYzrdyYZQrw3C1dfoivjUGBM@z> 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@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.Oberschelp@mlap.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@sourceware.cygnus.com