Build system don't honour "debug"
Reported by ElCuGo | July 25th, 2008 @ 12:04 AM | in 2.4 (Event)
Hi.
I used the command "rake debug build" to build RubyGame, but the compiled libraries don't get debugging symbols.
Running "rake verbose debug build" shows that the -g option is not passed to the compile command, e.g.:
x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -ftree-vectorize -mfpmath=sse -fno-strict-aliasing -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I/usr/lib64/ruby/1.8/x86_64-linux -DRUBYGAME_MAJOR_VERSION=2 -DRUBYGAME_MINOR_VERSION=4 -DRUBYGAME_PATCHLEVEL=0 -DHAVE_OPENGL ext/rubygame/rubygame_main.c -o ext/rubygame/rubygame_main.o
This is Gentoo Linux, x86_64, Ruby 1.8.6-p114, rake 0.8.1, gcc 4.1.2 p1.0.2.
Comments and changes to this ticket
-
John Croisant July 31st, 2008 @ 09:50 PM
- → State changed from new to resolved
- → Tag changed from to @bug
- → Milestone changed from to 2.4 (Event)
This has now been fixed on the master branch, and will be shipped with 2.4. Thanks for the report.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Flexible library for making games with the Ruby language.
rubygame.sourceforge.net
