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 Message-ID: <006c01c5d077$6a97b520$1600a8c0@toyon.corp> From: "Peter J. Stieber" To: References: <045001c5cd2c$657579e0$1600a8c0 AT toyon DOT corp> <056901c5cd3e$3986d010$1600a8c0 AT toyon DOT corp> <434A5ADB DOT 2080602 AT byu DOT net> <20051010151806 DOT GC14608 AT trixie DOT casa DOT cgf DOT cx> <20051010153309 DOT GD14608 AT trixie DOT casa DOT cgf DOT cx> <036201c5d04a$7f485010$1600a8c0 AT toyon DOT corp> <434EF021 DOT 8C23A29 AT dessent DOT net> Subject: Re: 1.5.18: ld command generates stackdump Date: Thu, 13 Oct 2005 21:26:15 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes PS = Peter J. Stieber PS>> Sorry in advance for the stupid questions, but... PS>> PS>> I downloaded the binutils source package, and PS>> extracted the source. When PS>> I ran PS>> PS>> ./configure --help PS>> PS>> I didn't see a --enable-debug option or anything PS>> I though was equivalent. Am I missing something? BD = Brian Dessent BD> Normally, auto-tooled packages like binutils have a BD> default value for CFLAGS that is typically "-g -O2" BD> which means you get the debug information. When BD> creating binary packages for distribution the BD> binaries are typically stripped later. Thanks for the info Brian. I ran ./configure successfully in the extracted binutils-20050610-1 directory. When I ran make I ran into the following error: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o ar.exe arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a arlex.o: In function `main': /home/pete/binutils-20050610-1/binutils/arlex.c:1: multiple definition of `_main' arparse.o:/home/pete/binutils-20050610-1/binutils/arparse.c:1: first defined here ar.o: In function `main': /home/pete/binutils-20050610-1/binutils/ar.c:337: multiple definition of `_main' arparse.o:/home/pete/binutils-20050610-1/binutils/arparse.c:1: first defined here ar.o: In function `mri_emul': /home/pete/binutils-20050610-1/binutils/ar.c:143: undefined reference to `_yyparse' collect2: ld returned 1 exit status make[3]: *** [ar.exe] Error 1 make[3]: Leaving directory `/home/pete/binutils-20050610-1/binutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/pete/binutils-20050610-1/binutils' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/pete/binutils-20050610-1/binutils' I'm not quite sure what the problem is. I have bison, flex and byacc loaded. Sorry for being a naive pest, Pete -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/