| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <3EC1CE08.4060900@niles.de> |
| Date: | Wed, 14 May 2003 07:03:04 +0200 |
| From: | "Mader, Alexander" <alexander DOT mader AT niles DOT de> |
| Organization: | NILES Werkzeugmaschinen GmbH |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4a) Gecko/20030401 |
| X-Accept-Language: | de-at, de, en-us, en |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: DLL creating problem |
| References: | <10212936061 DOT 20030513223900 AT mail DOT ru> |
| In-Reply-To: | <10212936061.20030513223900@mail.ru> |
| X-Enigmail-Version: | 0.75.0.0 |
| X-Enigmail-Supports: | pgp-inline, pgp-mime |
| X-Virus-Scanned: | by AMaViS snapshot-20020531 |
| X-Spam-Status: | No, hits=-23.4 required=5.0 |
| tests=AWL,BAYES_01,IN_REP_TO,PGP_SIGNATURE,REFERENCES, | |
| USER_AGENT_MOZILLA_UA | |
| autolearn=ham version=2.53 | |
| X-Spam-Level: | |
| X-Spam-Checker-Version: | SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
RomikB schrieb:
| Hello All,
|
| I have a problem when trying to create a DLL.
|
| ....
| I need to create a DLL(no-cygwin)
|
| compile:
| nasm -f format -o file_asm.o {format = elf | win32 | coff }
| gcc -c file_c.c -o file_c.o
|
| link:
| i use:
| gcc -shared ...
| ld -shared ...
| gcc -mdll ...
| ld -dll ...
| dllwrap ...
| but i can't create a true dll
|
To create a non-cygwin-DLL you have to compile and link with
- -mno-cygwin. Depending on what you develop the DLL for you have to add
some other architecture dependend switches. As for direct assemblage I
have no idea.
Best regards,
Allexander.
- --
Alexander Mader <alexander DOT mader AT niles DOT de> Fon: +49-30-93033-636
NILES Werkzeugmaschinen GmbH Fax: +49-30-93033-603
www.niles.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+wc4EUABVlkcx7ZMRAt24AJwKBT2by0mT1TPoFfuheG7aNV7S2QCggG4y
wgHbyAsdjEQv4ywhw2WRv6U=
=1rgE
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |