You should put the cflags on the configure command line, I use:
configure --enable-debug CFLAGS="-O0 -msse2 -g"
Berk
Date: Thu, 24 Sep 2009 16:51:45 +0300
From: inons...@tau.ac.il
To: gmx-users@gromacs.org
Subject: [gmx-users] Re: Re: help with gmx C source code
Hi Alex! (and everyone else)
I
Re: help with gmx C source code
set the CFLAGS environment variable with
CFLAGS="-O0 -g3"
and then installed, using
./configure
make
make install
but it seems that I'm still doing something wrong, because when I do
gdb mdrun
there appear to still be no debugging symbols in the program:
(gdb) file mdrun
Reading symbols from /usr/bin/mdrun...(no debugging symbols
found)...done.
(gdb) file mdrun_d
Reading symbols from /usr/bin/mdrun_d...(no debugging symbols
found)...done.
Do you have any idea what I might be doing wrong?
Thanks for all the help,
--
Inon Sharony
ינון שרוני
+972(3)6407634
atto.TAU.ac.IL/~inonshar
Please consider your environmental responsibility before printing
this e-mail.
_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx
_______________________________________________
gmx-users mailing list gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php