Hi,<br><br>I ' ./configure --enable-debug' and then 'make', <br>but when I run the final 'vlc', I get  'File format not recognized' error.<br><br>$ gdb ./vlc<br>GNU gdb 6.6-debian<br>Copyright (C) 2006 Free Software Foundation, Inc.
<br>GDB is free software, covered by the GNU General Public License, and you are<br>welcome to change it and/or distribute copies of it under certain conditions.<br>Type "show copying" to see the conditions.<br>
There is absolutely no warranty for GDB.  Type "show warranty" for details.<br>This GDB was configured as "i486-linux-gnu"...<br>"/home/herman/src/vlc-trunk/vlc": not in executable format: File format not recognized
<br><br>can you please help how can I run vlc under debugger?<br><br>Thank you.<br><br><br><br><div><span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Felix Paul Kühne</b> <<a href="mailto:fkuehne.videolan@googlemail.com">
fkuehne.videolan@googlemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello<br><br>Am 20.05.2007 um 17:24 schrieb Andrew Stone:
<br>> I'd also like to know.<br>><br>> ./configure --enable-debug --disable-optimizations<br>><br>> doesn't disable optimizations for some reason.<br>That's correct. The debug flag works as expected (it adds debug info,
<br>etc.), but -optimizations is a bit useless, as VLC's code is always<br>being optimised with our current build system without having the<br>possibility to change the level by hand. You can only specifically<br>disable the usage of AltiVec optimisations (for PowerPC CPUs) and
<br>additionally, you may optimise for memory usage (--enable-optimize-<br>memory).<br><br><br>> ----- Original Message ----<br>> From: Herman Schultz <<a href="mailto:herman.schultz@gmail.com">herman.schultz@gmail.com
</a>><br><br>> Can you please tell me how can i compile VLC for debugging and how<br>> can I run VLC to run under a debugger?<br><br>We recommend you to use gdb for debugging VLC. Simply running VLC in<br>it, is straight forward: "$ gdb ./vlc" (or similar; depending where
<br>your VLC binary is actually located). Using gdb is a bit more<br>complicated, so please have a look at gdb's documentation.<br><br>Regards,<br>Felix<br><br><br>--<br>VideoLAN<br>Felix Paul Kühne<br>Co-Developer of VLC's Mac OS X port
<br><a href="http://www.videolan.org/vlc">http://www.videolan.org/vlc</a><br>--<br>This is the vlc-devel mailing-list, see <a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a><br>To unsubscribe, please read 
<a href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html</a><br><br></blockquote></div><br>