Mail Archives: cygwin/1999/07/07/05:50:31
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
- Raw text -