Alexey Petrenko wrote:
2006/11/24, Evgueni Brevnov <[EMAIL PROTECTED]>:
I believe classlib natives compile in release mode by default.
Is that so? What about -Zi msvc option in makefiles?

The option doesn't help much if pdb files are not copied to bin directory. Debugger just cannot find them.

Also while compiler generates some debugging info with -Zi, compiling with lots of optimizations (-Ogityb1) makes debugging quite hard because lots of local variables are optimized out, and their values cannot be seen in debugger. I have to remove these optimization flags when I need to debug classlib natives.

So classlib mode is release with some debug information. I think these two modes should be separated for convenience, and pdb files should be copied to deploy/jdk/jre/bin.

Could you clarify the following:
>But it is impossible to build release version of the class library
>native code :(

Thanks
Evgueni

On 11/24/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
> Guys,
>
> we are talking a lot about performance last few days...
> But it is impossible to build release version of the class library
> native code :(
>
> This is absolutely needed feature if we want to talk about performance.
>
> Is there any volunteers in build system gurus who wants to fix the
> corresponding JIRA [1]? :)
>
> SY, Alexey
>
> [1] http://issues.apache.org/jira/browse/HARMONY-2310
>




--
Gregory

Reply via email to