<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
You should put the cflags on the configure command line, I use:<br>configure --enable-debug CFLAGS="-O0 -msse2 -g"<br><br>Berk<br><br><hr id="stopSpelling">Date: Thu, 24 Sep 2009 16:51:45 +0300<br>From: InonShar@TAU.ac.IL<br>To: gmx-users@gromacs.org<br>Subject: [gmx-users] Re: Re: help with gmx C source code<br><br>

    


        <title></title>
    
    
        
            Hi Alex! (and everyone else)<br>
        <BR>
        
            <br>
        <BR>
        
            I
        <BR>
        <h1>
            Re: help with gmx C source code
        </h1>
        
            set the CFLAGS environment variable with<br>
        <BR>
        <pre>CFLAGS="-O0 -g3"<br></pre>
        
            and then installed, using
        <BR>
        
            ./configure<br>
            make<br>
            make install<br>
        <BR>
        
            but it seems that I'm still doing something wrong, because when I do
        <BR>
        
            gdb mdrun
        <BR>
        
            there appear to still be no debugging symbols in the program:<br>
        <BR>
        
            (gdb) file mdrun<br>
            Reading symbols from /usr/bin/mdrun...(no debugging symbols found)...done.<br>
            (gdb) file mdrun_d<br>
            Reading symbols from /usr/bin/mdrun_d...(no debugging symbols found)...done.
        <BR>
        
            <br>
        <BR>
        
            Do you have any idea what I might be doing wrong?
        <BR>
        
            Thanks for all the help,<br>
        <BR>
        <p class="ecximp-signature">
            --<br>
            Inon&nbsp; &nbsp;Sharony<br>
            ינון&nbsp; &nbsp; &nbsp;שרוני<br>
            +972(3)6407634<br>
            atto.TAU.ac.IL/~inonshar<br>
            Please consider your environmental responsibility before printing this e-mail.
        </p>                                               <br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>