[Vm-dev] How to compile a debugging VM?

Igor Stasenko siguctua at gmail.com
Tue Mar 24 10:22:14 UTC 2009


2009/3/24 Michael van der Gulik <mikevdg at gmail.com>:
>
> On Linux, how do you tell the build scripts to make GCC compile with
> the -g flag rather than -O2 (i.e. don't optimise and leave debugging
> symbols in the VM)?
>
> So far I've been manually editing relevant Makefiles, but surely
> there's a better way.
>

AFAIK, there is configure script for unix build. Maybe running
configure with certain options can produce make files with debug
flags.

> Gulik.
>
> --
> http://gulik.pbwiki.com/
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list