From: "Oliver Oberschelp" <ober@MLaP.DE>
To: <cygwin@sourceware.cygnus.com>
Subject: Problems with dll-generation under Win98
Date: Sat, 31 Jul 1999 18:34:00 -0000 [thread overview]
Message-ID: <000501bec85d$f06ad700$91a0ea83@mlap-pc45.uni-paderborn.de> (raw)
Message-ID: <19990731183400.a6vcEVdCN9HukhLekKuFYzrdyYZQrw3C1dfoivjUGBM@z> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2185 bytes --]
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
next reply other threads:[~1999-07-31 18:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-07 2:49 Oliver Oberschelp [this message]
1999-07-07 12:20 ` Mumit Khan
1999-07-07 23:35 ` AW: Problems with dll-generation under Win98 - solved! Oliver Oberschelp
1999-07-31 18:34 ` Oliver Oberschelp
1999-07-31 18:34 ` Problems with dll-generation under Win98 Mumit Khan
1999-07-31 18:34 ` Oliver Oberschelp
1999-07-07 15:40 Heribert Dahms
1999-07-07 15:51 ` DJ Delorie
1999-07-31 18:34 ` DJ Delorie
1999-07-31 18:34 ` Heribert Dahms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000501bec85d$f06ad700$91a0ea83@mlap-pc45.uni-paderborn.de' \
--to=ober@mlap.de \
--cc=cygwin@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).