Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3EC1CE08.4060900@niles.de>
Date: Wed, 14 May 2003 07:03:04 +0200
From: "Mader, Alexander" <alexander.mader@niles.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@cygwin.com
Subject: Re: DLL creating problem
References: <10212936061.20030513223900@mail.ru>
In-Reply-To: <10212936061.20030513223900@mail.ru>
X-Enigmail-Version: 0.75.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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.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/

