delorie.com/archives/browse.cgi | search |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |