This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .dll.a, .dll files and other questions


those links on ( describing how to build dlls
seem to be utterly outdated.
I was digging thru the doc trying to figure out how to build dlls myself and
found much of conflicting information.

can you point me to some info about to build dlls using "state-of-the-art"
in particular I'm interested in how to build dlls that use system wide win32

thx a lot.

today's cygwin
"Elfyn McBratney" <> wrote in message
> 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
> >gcc -shared in order to read the .dlls/shared files) by Cygwin?
> Im not sure exactly what you mean. The gcc `-shared' option compiles
> objects (in this case dll's). If you mean something like `gcc -shared
> bar.o ...' then gcc expects object code.
> There's a section (few links at the bottom) in the online documentation
> ( 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:
> >Bug reporting:
> >Documentation:
> >FAQ:         
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]