This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: mno-cygwin and gcc-2.95.2
- To: help-gcc at gnu dot org
- Subject: Re: mno-cygwin and gcc-2.95.2
- From: khan at xraylith dot wisc dot edu (Mumit Khan)
- Date: 9 Nov 1999 06:25:49 GMT
- Newsgroups: gnu.gcc.help
- Organization: Center for X-ray Lithography, UW-Madison
- References: <382748FE.CC44E5AD@bcpl.net>
- Xref: wodc7nx0 gnu.gcc.help:1732
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