DLL creating problem

Mader, Alexander alexander.mader@niles.de
Wed May 14 05:37:00 GMT 2003


-----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.mader@niles.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/



More information about the Cygwin mailing list