Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3D2DBE07.3040909@ece.gatech.edu> Date: Thu, 11 Jul 2002 13:19:03 -0400 From: Charles Wilson <cwilson AT ece DOT gatech DOT edu> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Available for test: gcc-3.1.1-2 gcc2-2.95.3-8 References: <20020711044304 DOT GA3292 AT redhat DOT com> <3D2D3205 DOT 7080606 AT ece DOT gatech DOT edu> <20020711162955 DOT GA11047 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Christopher Faylor wrote: > On Thu, Jul 11, 2002 at 03:21:41AM -0400, Charles Wilson wrote: > >>Okay, there's just one thing I forgot to mention last time: there still >>is no mingw libstdc++(-2).a for gcc-2.95.3-8 (of course, 2.95.3-5 didn't >>have one either, so this is no big deal. However, since you're >>providing the mingw/g++-3 headers ... >> > > I wasn't really planning on providing this. The goal is to switch to v3, > really. The only reason I provided the headers was to allow g++ to work > the same with -mno-cygwin as it did before. > Right. The thought occurred to me that perhaps the addition of mingw/include/g++-3 files is incomplete: either it shouldn't be done at all, or should be accompanied by the library. However, doing a diff on my cross-compiler g++-3 files and yours, gives me only _G_config.h -- but yours is identical to mine in /opt/mingw/i686-pc-mingw32/... So, the headers you provided were identical to the ones I was using before -- but your spec file now searches for "libstdc++-2.a". fine, I copied my libstdc++.a to there: but still get link errors...understandable if the ABI changed, but it hasn't. So I'm confused, but it seems as tho one cannot get g++-2 -mno-cygwin from 2.95.3-8 to work even after taking the steps that previously were sufficient to get g++ -mno-cygwin from 2.95.3-5 to work. >>/usr/lib/libstdc++.a.2.1.0 ?? what is this file? >> > > It's been around for some time. It's the libstdc++.a library for gcc > 2.95.3 + libstdc++. Okay -- I remember it from 2.95.3-5, but I thought it was removed in 2.95.3-7. It doesn't cause any problems either way; it's never used. >>gcc-2 works >>gcc-2 -mno-cygwin works >> >>g++-2 works >>g++-2 -mno-cygwin links against the >>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libstdc++-2.a >>(oh yeah -- there is no mingw libstdc++ for this release. >>I copied my mingw libstdc++.a to libstdc++-2.a, and then got *different* >>errors) >>see below. Shouldn't be a mangling issue; it was build with 2.95.3-5. >> > > Are you sure this is being used, though? > Yes, I verified by using g++ --verbose, and then copying the collect2.exe line by hand, and adding --verbose to THAT-- which should that YES, it was linking to my /usr/lib/mingw/libstdc++-2.a library (which was a copy of libstdc++.a yadda yadda yadda) I duplicated this below... >>g77-2 breaks: >>/usr/lib/libcygwin.a(libcmain.o)(.text+0x81): undefined reference to >>`WinMain AT 16' >>g77-2 -mno-cygwin breaks: >>/usr/lib/mingw/libmingw32.a(main.o)(.text+0x8d):main.c: undefined reference >>to `WinMain AT 16' >> > > Strange. I didn't touch g77 at all. Weird. > >>Note the g++-2 IS finding my custom libstdc++-2.a (which is a >>copy of a libstdc++.a that worked just fine with gcc-2.95.3-5). >> >>mg++-2 -o usedll.exe -g usedll.o -L./ -lcxxdll >>usedll.o: In function `main': >> > > Can you add a -v here, just to verify what library is being used? I did, but I redid that and copied the results below... --Chuck $ ./mg++-2 -o usedll.exe -g usedll.o -L./ -lcxxdll -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/specs gcc version 2.95.3-8 (cygwin special) /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/collect2.exe -Bdynamic -o usedll.exe /usr/lib/mingw/crt2.o -L./ -L/usr/lib/mingw -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8 usedll.o -lcxxdll -lstdc++-2 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lmingw32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt ---- above will result in the same errors posted previously. ----- ---- so, try again by calling ld directly ---- $ ld -Bdynamic -o usedll.exe /usr/lib/mingw/crt2.o -L./ -L/usr/lib/mingw -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8 usedll.o -lcxxdll -lstdc++-2 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lmingw32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt --verbose GNU ld version 2.12.90 20020706 Supported emulations: i386pe using internal linker script: ================================================== /* Default linker script, for normal executables */ OUTPUT_FORMAT(pei-i386) SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api"); ENTRY(_mainCRTStartup) SECTIONS { .text __image_base__ + __section_alignment__ : { *(.init) *(.text) *(SORT(.text$*)) *(.glue_7t) *(.glue_7) ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0); ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0); *(.fini) /* ??? Why is .gcc_exc here? */ *(.gcc_exc) etext = .; *(.gcc_except_table) } /* The Cygwin32 library uses a section to avoid copying certain data on fork. This used to be named ".data". The linker used to include this between __data_start__ and __data_end__, but that breaks building the cygwin32 dll. Instead, we name the section ".data_cygwin_nocopy" and explictly include it after __data_end__. */ .data BLOCK(__section_alignment__) : { __data_start__ = . ; *(.data) *(.data2) *(SORT(.data$*)) __data_end__ = . ; *(.data_cygwin_nocopy) } .rdata BLOCK(__section_alignment__) : { *(.rdata) *(SORT(.rdata$*)) *(.eh_frame) } .pdata BLOCK(__section_alignment__) : { *(.pdata) } .bss BLOCK(__section_alignment__) : { __bss_start__ = . ; *(.bss) *(COMMON) __bss_end__ = . ; } .edata BLOCK(__section_alignment__) : { *(.edata) } /DISCARD/ : { *(.debug$S) *(.debug$T) *(.debug$F) *(.drectve) } .idata BLOCK(__section_alignment__) : { /* This cannot currently be handled with grouped sections. See pe.em:sort_sections. */ SORT(*)(.idata$2) SORT(*)(.idata$3) /* These zeroes mark the end of the import list. */ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0); SORT(*)(.idata$4) SORT(*)(.idata$5) SORT(*)(.idata$6) SORT(*)(.idata$7) } .CRT BLOCK(__section_alignment__) : { *(SORT(.CRT$*)) } .endjunk BLOCK(__section_alignment__) : { /* end is deprecated, don't use it */ end = .; _end = .; __end__ = .; } .rsrc BLOCK(__section_alignment__) : { *(.rsrc) *(SORT(.rsrc$*)) } .reloc BLOCK(__section_alignment__) : { *(.reloc) } .stab BLOCK(__section_alignment__) (NOLOAD) : { [ .stab ] } .stabstr BLOCK(__section_alignment__) (NOLOAD) : { [ .stabstr ] } } ================================================== attempt to open /usr/lib/mingw/crt2.o succeeded /usr/lib/mingw/crt2.o attempt to open usedll.o succeeded usedll.o attempt to open .//libcxxdll.dll.a succeeded (.//libcxxdll.dll.a)d000002.o (.//libcxxdll.dll.a)d000012.o (.//libcxxdll.dll.a)d000011.o (.//libcxxdll.dll.a)d000013.o (.//libcxxdll.dll.a)d000004.o (.//libcxxdll.dll.a)d000001.o (.//libcxxdll.dll.a)d000014.o (.//libcxxdll.dll.a)d000016.o (.//libcxxdll.dll.a)d000000.o (.//libcxxdll.dll.a)d000017.o attempt to open .//libstdc++-2.dll.a failed attempt to open .//stdc++-2.dll.a failed attempt to open .//libstdc++-2.a failed attempt to open .//libstdc++-2.dll failed attempt to open .//stdc++-2.dll failed attempt to open .//libstdc++-2.a failed attempt to open /usr/lib/mingw/libstdc++-2.dll.a failed attempt to open /usr/lib/mingw/stdc++-2.dll.a failed attempt to open /usr/lib/mingw/libstdc++-2.a succeeded attempt to open .//libmingw32.dll.a failed attempt to open .//mingw32.dll.a failed attempt to open .//libmingw32.a failed attempt to open .//libmingw32.dll failed attempt to open .//mingw32.dll failed attempt to open .//libmingw32.a failed attempt to open /usr/lib/mingw/libmingw32.dll.a failed attempt to open /usr/lib/mingw/mingw32.dll.a failed attempt to open /usr/lib/mingw/libmingw32.a succeeded (/usr/lib/mingw/libmingw32.a)CRTglob.o (/usr/lib/mingw/libmingw32.a)CRTfmode.o (/usr/lib/mingw/libmingw32.a)CRT_fp10.o (/usr/lib/mingw/libmingw32.a)gccmain.o attempt to open .//libgcc.dll.a failed attempt to open .//gcc.dll.a failed attempt to open .//libgcc.a failed attempt to open .//libgcc.dll failed attempt to open .//gcc.dll failed attempt to open .//libgcc.a failed attempt to open /usr/lib/mingw/libgcc.dll.a failed attempt to open /usr/lib/mingw/gcc.dll.a failed attempt to open /usr/lib/mingw/libgcc.a failed attempt to open /usr/lib/mingw/libgcc.dll failed attempt to open /usr/lib/mingw/gcc.dll failed attempt to open /usr/lib/mingw/libgcc.a failed attempt to open /usr/lib/w32api/libgcc.dll.a failed attempt to open /usr/lib/w32api/gcc.dll.a failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/w32api/libgcc.dll failed attempt to open /usr/lib/w32api/gcc.dll failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/gcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.a succeeded (/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.a)_eh.o (/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.a)_ctors.o (/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.a)frame.o (/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.a)_chkstk.o attempt to open .//libmoldname.dll.a failed attempt to open .//moldname.dll.a failed attempt to open .//libmoldname.a failed attempt to open .//libmoldname.dll failed attempt to open .//moldname.dll failed attempt to open .//libmoldname.a failed attempt to open /usr/lib/mingw/libmoldname.dll.a failed attempt to open /usr/lib/mingw/moldname.dll.a failed attempt to open /usr/lib/mingw/libmoldname.a succeeded (/usr/lib/mingw/libmoldname.a)ds00104.o (/usr/lib/mingw/libmoldname.a)dh.o (/usr/lib/mingw/libmoldname.a)dt.o attempt to open .//libmingwex.dll.a failed attempt to open .//mingwex.dll.a failed attempt to open .//libmingwex.a failed attempt to open .//libmingwex.dll failed attempt to open .//mingwex.dll failed attempt to open .//libmingwex.a failed attempt to open /usr/lib/mingw/libmingwex.dll.a failed attempt to open /usr/lib/mingw/mingwex.dll.a failed attempt to open /usr/lib/mingw/libmingwex.a succeeded attempt to open .//libmsvcrt.dll.a failed attempt to open .//msvcrt.dll.a failed attempt to open .//libmsvcrt.a failed attempt to open .//libmsvcrt.dll failed attempt to open .//msvcrt.dll failed attempt to open .//libmsvcrt.a failed attempt to open /usr/lib/mingw/libmsvcrt.dll.a failed attempt to open /usr/lib/mingw/msvcrt.dll.a failed attempt to open /usr/lib/mingw/libmsvcrt.a succeeded (/usr/lib/mingw/libmsvcrt.a)ds00178.o (/usr/lib/mingw/libmsvcrt.a)ds00222.o (/usr/lib/mingw/libmsvcrt.a)ds00517.o (/usr/lib/mingw/libmsvcrt.a)ds00336.o (/usr/lib/mingw/libmsvcrt.a)ds00078.o (/usr/lib/mingw/libmsvcrt.a)ds00118.o (/usr/lib/mingw/libmsvcrt.a)ds00059.o (/usr/lib/mingw/libmsvcrt.a)ds00633.o (/usr/lib/mingw/libmsvcrt.a)ds00169.o (/usr/lib/mingw/libmsvcrt.a)ds00373.o (/usr/lib/mingw/libmsvcrt.a)ds00039.o (/usr/lib/mingw/libmsvcrt.a)ds00609.o (/usr/lib/mingw/libmsvcrt.a)ds00552.o (/usr/lib/mingw/libmsvcrt.a)ds00603.o (/usr/lib/mingw/libmsvcrt.a)ds00642.o (/usr/lib/mingw/libmsvcrt.a)ds00510.o (/usr/lib/mingw/libmsvcrt.a)dh.o (/usr/lib/mingw/libmsvcrt.a)dt.o attempt to open .//libmingw32.dll.a failed attempt to open .//mingw32.dll.a failed attempt to open .//libmingw32.a failed attempt to open .//libmingw32.dll failed attempt to open .//mingw32.dll failed attempt to open .//libmingw32.a failed attempt to open /usr/lib/mingw/libmingw32.dll.a failed attempt to open /usr/lib/mingw/mingw32.dll.a failed attempt to open /usr/lib/mingw/libmingw32.a succeeded attempt to open .//libuser32.dll.a failed attempt to open .//user32.dll.a failed attempt to open .//libuser32.a failed attempt to open .//libuser32.dll failed attempt to open .//user32.dll failed attempt to open .//libuser32.a failed attempt to open /usr/lib/mingw/libuser32.dll.a failed attempt to open /usr/lib/mingw/user32.dll.a failed attempt to open /usr/lib/mingw/libuser32.a failed attempt to open /usr/lib/mingw/libuser32.dll failed attempt to open /usr/lib/mingw/user32.dll failed attempt to open /usr/lib/mingw/libuser32.a failed attempt to open /usr/lib/w32api/libuser32.dll.a failed attempt to open /usr/lib/w32api/user32.dll.a failed attempt to open /usr/lib/w32api/libuser32.a succeeded attempt to open .//libkernel32.dll.a failed attempt to open .//kernel32.dll.a failed attempt to open .//libkernel32.a failed attempt to open .//libkernel32.dll failed attempt to open .//kernel32.dll failed attempt to open .//libkernel32.a failed attempt to open /usr/lib/mingw/libkernel32.dll.a failed attempt to open /usr/lib/mingw/kernel32.dll.a failed attempt to open /usr/lib/mingw/libkernel32.a failed attempt to open /usr/lib/mingw/libkernel32.dll failed attempt to open /usr/lib/mingw/kernel32.dll failed attempt to open /usr/lib/mingw/libkernel32.a failed attempt to open /usr/lib/w32api/libkernel32.dll.a failed attempt to open /usr/lib/w32api/kernel32.dll.a failed attempt to open /usr/lib/w32api/libkernel32.a succeeded (/usr/lib/w32api/libkernel32.a)ds00643.o (/usr/lib/w32api/libkernel32.a)ds00130.o (/usr/lib/w32api/libkernel32.a)ds00664.o (/usr/lib/w32api/libkernel32.a)ds00285.o (/usr/lib/w32api/libkernel32.a)ds00438.o (/usr/lib/w32api/libkernel32.a)ds00654.o (/usr/lib/w32api/libkernel32.a)ds00666.o (/usr/lib/w32api/libkernel32.a)ds00617.o (/usr/lib/w32api/libkernel32.a)ds00667.o (/usr/lib/w32api/libkernel32.a)ds00064.o (/usr/lib/w32api/libkernel32.a)ds00706.o (/usr/lib/w32api/libkernel32.a)ds00545.o (/usr/lib/w32api/libkernel32.a)dh.o (/usr/lib/w32api/libkernel32.a)dt.o attempt to open .//libadvapi32.dll.a failed attempt to open .//advapi32.dll.a failed attempt to open .//libadvapi32.a failed attempt to open .//libadvapi32.dll failed attempt to open .//advapi32.dll failed attempt to open .//libadvapi32.a failed attempt to open /usr/lib/mingw/libadvapi32.dll.a failed attempt to open /usr/lib/mingw/advapi32.dll.a failed attempt to open /usr/lib/mingw/libadvapi32.a failed attempt to open /usr/lib/mingw/libadvapi32.dll failed attempt to open /usr/lib/mingw/advapi32.dll failed attempt to open /usr/lib/mingw/libadvapi32.a failed attempt to open /usr/lib/w32api/libadvapi32.dll.a failed attempt to open /usr/lib/w32api/advapi32.dll.a failed attempt to open /usr/lib/w32api/libadvapi32.a succeeded attempt to open .//libshell32.dll.a failed attempt to open .//shell32.dll.a failed attempt to open .//libshell32.a failed attempt to open .//libshell32.dll failed attempt to open .//shell32.dll failed attempt to open .//libshell32.a failed attempt to open /usr/lib/mingw/libshell32.dll.a failed attempt to open /usr/lib/mingw/shell32.dll.a failed attempt to open /usr/lib/mingw/libshell32.a failed attempt to open /usr/lib/mingw/libshell32.dll failed attempt to open /usr/lib/mingw/shell32.dll failed attempt to open /usr/lib/mingw/libshell32.a failed attempt to open /usr/lib/w32api/libshell32.dll.a failed attempt to open /usr/lib/w32api/shell32.dll.a failed attempt to open /usr/lib/w32api/libshell32.a succeeded attempt to open .//libmingw32.dll.a failed attempt to open .//mingw32.dll.a failed attempt to open .//libmingw32.a failed attempt to open .//libmingw32.dll failed attempt to open .//mingw32.dll failed attempt to open .//libmingw32.a failed attempt to open /usr/lib/mingw/libmingw32.dll.a failed attempt to open /usr/lib/mingw/mingw32.dll.a failed attempt to open /usr/lib/mingw/libmingw32.a succeeded attempt to open .//libgcc.dll.a failed attempt to open .//gcc.dll.a failed attempt to open .//libgcc.a failed attempt to open .//libgcc.dll failed attempt to open .//gcc.dll failed attempt to open .//libgcc.a failed attempt to open /usr/lib/mingw/libgcc.dll.a failed attempt to open /usr/lib/mingw/gcc.dll.a failed attempt to open /usr/lib/mingw/libgcc.a failed attempt to open /usr/lib/mingw/libgcc.dll failed attempt to open /usr/lib/mingw/gcc.dll failed attempt to open /usr/lib/mingw/libgcc.a failed attempt to open /usr/lib/w32api/libgcc.dll.a failed attempt to open /usr/lib/w32api/gcc.dll.a failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/w32api/libgcc.dll failed attempt to open /usr/lib/w32api/gcc.dll failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/gcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libgcc.a succeeded attempt to open .//libmoldname.dll.a failed attempt to open .//moldname.dll.a failed attempt to open .//libmoldname.a failed attempt to open .//libmoldname.dll failed attempt to open .//moldname.dll failed attempt to open .//libmoldname.a failed attempt to open /usr/lib/mingw/libmoldname.dll.a failed attempt to open /usr/lib/mingw/moldname.dll.a failed attempt to open /usr/lib/mingw/libmoldname.a succeeded attempt to open .//libmingwex.dll.a failed attempt to open .//mingwex.dll.a failed attempt to open .//libmingwex.a failed attempt to open .//libmingwex.dll failed attempt to open .//mingwex.dll failed attempt to open .//libmingwex.a failed attempt to open /usedll.o: In function `main': /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' usedll.o:/tmp/gcc-tests/cxx/usedll.cc:21: more undefined references to `endl(ostream &)' follow usedll.o: In function `main': /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `cout' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `cout' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(int)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /tmp/gcc-tests/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(int)' usr/lib/mingw/libmingwex.dll.a failed attempt to open /usr/lib/mingw/mingwex.dll.a failed attempt to open /usr/lib/mingw/libmingwex.a succeeded attempt to open .//libmsvcrt.dll.a failed attempt to open .//msvcrt.dll.a failed attempt to open .//libmsvcrt.a failed attempt to open .//libmsvcrt.dll failed attempt to open .//msvcrt.dll failed attempt to open .//libmsvcrt.a failed attempt to open /usr/lib/mingw/libmsvcrt.dll.a failed attempt to open /usr/lib/mingw/msvcrt.dll.a failed attempt to open /usr/lib/mingw/libmsvcrt.a succeeded Info: resolving __8DllClass$instances by linking to __imp___8DllClass$instances (auto-import) Info: resolving _global_dllclass2 by linking to __imp__global_dllclass2 (auto-import) Info: resolving _global_dllclass1 by linking to __imp__global_dllclass1 (auto-import) Info: resolving _global_int_variable by linking to __imp__global_int_variable (auto-import) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/