#if BOCHS_DEBUG_HACK
"Jonas Sundström" <[email protected]>
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
http://cvs.sourceforge.net/viewcvs.py/*checkout*/open-beos/current/src/kernel/core/arch/x86/arch_dbg_console.c?rev=1.12
"The BOCHS_DEBUG_HACK definition now only enables support for the bochs
debug output - to activate it, you now have to enable it in the kernel
settings file ("bochs_debug_output true")."
[snip]
There's one #ifdef BOCHS_DEBUG_HACK and a couple of #if.
The latter appear not to be working without the true/false setting.
From the IRC channel (#Haiku):
<mmu_man> #if FOO is legal only if FOO is always defined and has a
value
Jack Burton suggested uncommenting the line
// #define BOCHS_DEBUG_HACK 0
If the kernel settings file** is always part of the build,
bochs_debug_output can be set to false as default.
If not, I think #ifdefs would be the better choice.
** It's not the one in ~/config/settings/kernel, right?
Build target and host settings should be separate.
Thanks to Jack for pointing me to the mailinglist!
/Jonas Sundström. www.kirilla.com
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt