_cygwin_crt0_common.cc: weak declaration not supported
Dave Korn
dave.korn.cygwin@googlemail.com
Tue Sep 1 11:31:00 GMT 2009
Marco Atzeri wrote:
> $gcc --version
> gcc (GCC) 4.3.2 20080827 (beta) 2
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:24: warning: weak declaration of 'void* operator new(size_t)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:26: warning: weak declaration of 'void* operator new [](size_t)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:28: warning: weak declaration of 'void operator delete(void*)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:30: warning: weak declaration of 'void operator delete [](void*)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:32: warning: weak declaration of 'void* operator new(size_t, const std::nothrow_t&)' not supported
> ../../../../winsup/cygwin/lib/_cygwin_crt0_common.cc:34: warning: weak declaration of 'void* operator new [](size_t, const std::nothrow_t&)' not supported
> ../.../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:36: warning: weak declaration of 'void operator delete(void*, const std::nothrow_t&)' not supported
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:38: warning: weak declaration of 'void operator delete [](void*, const std::nothrow_t&)' not supported
> make[3]: *** [_cygwin_crt0_common.o] Error 1
>
> Am I missing some configuration setup ?
Sure looks like something went wrong somewhere. You didn't show us the
actual build line from that logfile, so we can't see, but I'd guess it has
just plain "gcc" at the start, not "gcc-4"?
cheers,
DaveK
More information about the Cygwin-developers
mailing list