This is the mail archive of the cygwin-developers 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: _cygwin_crt0_common.cc: weak declaration not supported


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


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