This is the mail archive of the cygwin@cygwin.com 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]

How to build a static linked library


Hello,

when I tried to link my library with the -shared flag, the linker says, that
_bss_end__, _bss_start__, _data_end__ and __data_start__ are not defined. As
far as I understood the information I found in the mailing-list-archive,
this is, since -shared has different meaning on Win32 and Unix/Linux: On
Windows, it created a dynamic linked library and on Unix a static linked
one.

Now, I want to create a static linked library for Win32; How do I?

Thanks,

Mirko Vogel


--
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/


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