Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-Filter: check_local AT alphatech DOT com 4.4(020923:1754) http://digitalanswers.org/ Message-Id: <4.3.2.7.2.20030327142641.00b66708@mail.alphatech.com> X-Sender: alant AT mail DOT alphatech DOT com Date: Thu, 27 Mar 2003 14:27:27 -0800 To: From: Alan Thompson Subject: Re: Please help. gcc 3.2.2 configure problem or what? In-Reply-To: <007801c2f4ae$e65fa570$5510690a@jhopii400mhz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I build gcc 3.2.2 with the --suffix option (see the gcc readme file) under Cygwin last month and it worked fine. Alan Thompson At 11:19 PM 3/27/2003 +0100, Joakim Olsson wrote: >Hi > >I've tried to configure and build gcc 3.2.2 under cygwin. > >the compiler builds fine but then the problem starts: > >I've tried to build fltk-1.1.3 (a gui toolkit) when I saw the problem. > >It seems that there are several unresolved in my new gcc. >I looked around and found the actual symbols in libgcc.a in the old gcc that >came with cygwin. > >What have I done wrong? > >following are output from linking and gcc -v etc: > >Linking fluid.exe... >/usr/lib/mingw/libsupc++.a(new_op.o)(.text$_Znwj+0x98): undefined reference >to ` >__Unwind_Resume' >/usr/lib/mingw/libsupc++.a(new_opv.o)(.text$_Znaj+0x1b): undefined reference >to >`__Unwind_Resume' >/usr/lib/mingw/libsupc++.a(eh_personality.o)(.text$__cxa_call_unexpected+0xe >8): >undefined reference to `__Unwind_Resume' >/usr/lib/mingw/libsupc++.a(eh_throw.o)(.text$__cxa_throw+0x1b): undefined >reference to `___w32_sharedptr_unexpected' >/usr/lib/mingw/libsupc++.a(eh_throw.o)(.text$__cxa_throw+0x25): undefined >reference to `___w32_sharedptr_terminate' >/usr/lib/mingw/libsupc++.a(eh_throw.o)(.text$__cxa_throw+0x54): undefined >reference to `__Unwind_RaiseException' >/usr/lib/mingw/libsupc++.a(eh_throw.o)(.text$__cxa_rethrow+0x1b): undefined >reference to `__Unwind_RaiseException' >/usr/lib/mingw/libsupc++.a(eh_terminate.o)(.text$_ZSt9terminatev+0x7): >undefined reference to `___w32_sharedptr_terminate' >/usr/lib/mingw/libsupc++.a(eh_terminate.o)(.text$_ZSt10unexpectedv+0x7): >undefined reference to ___w32_sharedptr_unexpected' >/usr/lib/mingw/libsupc++.a(eh_terminate.o)(.text$_ZSt13set_terminatePFvvE+0x >3): undefined reference to `___w32_sharedptr_terminate' >/usr/lib/mingw/libsupc++.a(eh_terminate.o)(.text$_ZSt14set_unexpectedPFvvE+0 >x3): undefined reference to `___w32_sharedptr_unexpected' >collect2: ld returned 1 exit status >make[1]: *** [fluid.exe] Error 1 > > >$ gcc -v >Reading specs from >/usr/local/gcc-3.2.2/lib/gcc-lib/i686-pc-cygwin/3.2.2/specs >Configured with: >../gcc-3.2.2/configure --prefix=/usr/local/gcc-3.2.2 --enable-languages=ada, >c,c++,f77,java,objc >Thread model: single >gcc version 3.2.2 > >$ gcc --version >gcc (GCC) 3.2.2 >Copyright (C) 2002 Free Software Foundation, Inc. >This is free software; see the source for copying conditions. There is NO >warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > > >I also tried to configure and build gcc-mingw-20020817-5 but it allways >fails: > >./xgcc -B./ -B/usr/local/gcc-mingw-3.2/mingw32/bin/ -isystem >/usr/local/gcc-ming >w-3.2/mingw32/include -isystem >/usr/local/gcc-mingw-3.2/mingw32/sys-include -O2 >-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype >s -i >system >./include -I. -I. -I../../gcc-3.2-20020817-1/gcc -I../../gcc-3.2-2002081 >7-1/gcc/. -I../../gcc-3.2-20020817-1/gcc/config -I../../gcc-3.2-20020817-1/g >cc/. >./include -g0 -finhibit-size-directive -fno-inline-functions -fno-exception >s \ > > -c ../../gcc-3.2-20020817-1/gcc/crtstuff.c -DCRT_BEGIN \ > -o crtbegin.o >In file included from tconfig.h:16, > from ../../gcc-3.2-20020817-1/gcc/crtstuff.c:61: >../../gcc-3.2-20020817-1/gcc/config/i386/cygming.h:31:19: stdio.h: No such >file >or directory >In file included from tconfig.h:16, > from ../../gcc-3.2-20020817-1/gcc/crtstuff.c:61: > > > > >Please help, is there a HOWTO on configure & build gcc in Cygwin? > >best regards >/joakim olsson >SWEDEN > > >-- >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/ -- 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/