Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [195.92.67.69] From: "Elfyn McBratney" To: pgarceau AT attbi DOT com, cygwin AT cygwin DOT com Subject: Re: .dll.a, .dll files and other questions Date: Sat, 30 Nov 2002 00:39:26 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Nov 2002 00:39:26.0368 (UTC) FILETIME=[EF6A5A00:01C29808] Hi, >Hi folks, > >Just had a couple of questions. Attempting to head off a problem at >the pass... > >When using gcc -shared, what is default output (ie. what is expected >from >gcc -shared in order to read the .dlls/shared files) by Cygwin? Im not sure exactly what you mean. The gcc `-shared' option compiles shared objects (in this case dll's). If you mean something like `gcc -shared foo.o bar.o ...' then gcc expects object code. There's a section (few links at the bottom) in the online documentation (http://cygwin.com/docs.html) which goes through how to create dll's. > >Second question: If g++ -shared is used will the output .dll/shared >files be loadable and/or useable by Win32 api? > >Finally, I realize that if g++ -shared, if used, is likely going to >generate name mangled .dlls that can not be read/loaded properly by the >win32api. > >Is that still true for Cygwin? > >Thanks, > >Paul G. > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/