It looks very strange to me. I've just checked linux debug build with the only change in build.sh (replaced -Dvm.jitrino.cfg=releaase to - Dvm.jitrino.cfg=debug) and debug version of library was built without any problems.
On 11/6/06, Alex Astapchuk <[EMAIL PROTECTED]> wrote:
Geir Magnusson Jr. wrote: > > > Alex Astapchuk wrote: >> Geir Magnusson Jr. wrote: >>> I've been having some problems getting some test cases to exhibit >>> misbehavior for DRLVM, and it turns out that jitrino is built in >>> release mode no matter what BUILD_CFG is set to. >> >> Yes, this is a looooong-looooong story. >> Was done as 'we-will-change-it-back-soon' thing, but remains till this >> moment. :-) > > When I get it to build, I'll change it back today :) > >> >>> >>> Putting this inconsistency aside for a moment, how do I get jitrino >>> to build in debug? >> >> Here it is: http://tinyurl.com/yxjp4v >> >> This are patches for jitrino.xml & build.bat, the same change (remove >> -Dvm.jitrino.cfg=release) need to be done for build.sh as well. > > k (I made the change in build.sh, as I never work on windows...). I'll > look at jitrino.xml (I can't see your URL... I'm in a car at the moment...) > If it helps, then here is the copy: ===== <project name="vm.jitrino"> - <target name="init"> + <target name="init" depends="common_vm"> <property name="build.depends" value="extra.apr,vm.vmcore,vm.encoder" /> <property name="outtype" value="shared" /> <property name="libname" value="jitrino" /> @@ -48,7 +48,8 @@ <patternset id="java.classes.pattern" includes="empty_pattern"/> <!-- the compiler doesn't extend common compiler --> - <compiler name="${build.cxx}" id="cpp.compiler"> + <compiler id="cpp.compiler" extends="common.cpp.compiler"> ===== -- Thanks, Alex
-- Mikhail Fursov