[Vm-dev] Building BochsIA32Plugin

Igor Stasenko siguctua at gmail.com
Mon Dec 27 11:09:39 UTC 2010


Hi, Eliot

you are the only one, who probably could answer this question

in
processors/IA32/bochs/conf.COG

i found following:

CPATH="/sw/include"
LDFLAGS="-L/sw/lib"

this looks like a dependency, which requred by Bochs code simulator to build..
what is it, and why it is needed?

as i can see, you using only following parts of it:
 - cpu, fpu and disasm

which actually a libs, and its quite easy to build them without too
much ad-hoc preparations.

So, i wonder, what if i just include all source files in these dirs as
a source files for boch's plugin lib,
and with proper compiler flags and defines, simply compile them into
single library
using plain CMakeLists.txt file,
without scary monstrosities like configure scripts (the only product
of it, which is really needed is generated config.h header).


Of course, i could instruct cmake to run configure script.. or
conf.COG .. whatever.
Just wanna be able to build this plugin without requiring user's attention.


-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list