This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Re: mno-cygwin and gcc-2.95.2


In article <382748FE.CC44E5AD@bcpl.net>, Inferno  <esheesle@bcpl.net> wrote:
>I am currently using Mumit Khan's binary distribution of
>gcc-2.95.2(thanks for making these).  When i try to do a mno-cygwin
>compile i am getting errors.  Not the exact same errors i was getting
>before though(shorter list this time).  I have attached the screen
>capture.  Ideas?
>
>Thanks,
>Inferno
># cc -c -mno-cygwin -I/include test.cpp
># cc -o test -mno-cygwin -L/lib test.o

>/lib/libgcc.a(_eh.o)(.text+0xdf): undefined reference to
>`__mingwthr_key_dtor'
>/lib/libgcc.a(_eh.o)(.text+0x114): undefined reference to `_CRT_MT'
>/lib/libgcc.a(frame.o)(.text+0x24): undefined reference to `_CRT_MT'
>/lib/libgcc.a(frame.o)(.text+0x4f4): undefined reference to `_CRT_MT'
>/lib/libgcc.a(frame.o)(.text+0x53c): undefined reference to `_CRT_MT'
>/lib/libgcc.a(frame.o)(.text+0x9d2): undefined reference to `_CRT_MT'
>/lib/libgcc.a(frame.o)(.text+0x9fc): more undefined references to
>`_CRT_MT' foll
>ow
>collect2: ld returned 1 exit status

Thanks for the bug report. The missing symbol is new in the mingw
runtime to support thread-safe C++ exceptions.

I will check it out. Either I mispackaged mingw-extra package or
something else is fishy. BTW, I suggest you report these bugs
to Cygwin mailing list (and copy me as well). I don't read this
newsgroup unless I have some free time.

Regards,
Mumit


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