This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Hmmm, dllcrt0.o not found

Tim Baker <> writes:
> The gcc "specs" file for B20.1 is looking for a file dllcrt0.o,
> but I have no such file! I saw in the mailing list archive that
> someone else had the same problem. I have dllcrt1.o and
> dllcrt2.o, but they seem to be for Mingw32?! Can someone
> send me dllcrt0.o (or tell me where to get it?). I am trying
> to link a "cygwin" DLL.
> *startfile: %{mdll: %{!mno-cygwin:dllcrt0%O%s}

Hi Tim,

Thanks for the bug report. I'm without a copy of the sources right now,
but the *startfile entry looks incorrect! The %{!mno-cygwin:dllcrt0%O%s}
should not be there, so you should just remove it (just don't break any
lines etc, otherwise the specs parser would choke) and try it.

Cygwin doesn't need a dllcrt?.o when creating DLLs. BTW, until DJ's
work on ld is released, dllwrap is a good way to create DLLs without
mucking with the setup. See my dllhelpers package for examples
( and scan for
"howto create DLLs ...").


ps: I've changed the list address to the new one from

Want to unsubscribe from this list?
Send a message to