gcc links to libcmain when generating a dll

Arthur Schwarz home@slipbits.com
Mon May 26 18:27:32 GMT 2025


Hi Brian;

I'm trying to track down the gcc linker (ld) manual. Any idea where I 
can find it?

I've looked at the gcc site (gcc.gnu.org/onlinedocs/) and it's not 
there. I did a google search and found a 1998 linker manual. I looked at 
the local cygwin (/usr/share/doc) and there's no ld.

You sent me the solution to my linking issue (thanks), but I find that 
the libslip.dll.a seems woefully undernourished. My cygslip.dll is 55980 
bytes, my libslip.dll.a is 2266 bytes. I would argue that my cygslip.dll 
seems too low (will find out more when I try to link it to an 
executable) but the libslip.dll.a seems wholly inadequate. I was hoping 
to use the linker manuals to try to find out what's going on, but I 
can't find the manuals.

thanks
art




More information about the Cygwin mailing list