Can't build with --enable-visualvm

Tomas Hurka Tomas.Hurka at Sun.COM
Wed May 5 07:45:42 PDT 2010


Hi Andrew,

On 5 May 2010, at 16:10, Andrew Haley wrote:
[..]
> I also needed
>
> --- netbeans/lib.profiler/native/build/buildnative-linux64.sh~   
> 2009-11-23 20:54:37.000000000 +0000
> +++ netbeans/lib.profiler/native/build/buildnative-linux64.sh    
> 2010-05-05 14:37:09.890446396 +0100
> @@ -5,7 +5,7 @@
>         JAVA_HOME=$1
>         JDK_ID=$2
>         echo $JAVA_HOME $JDK_ID
> -       gcc32 -I$JAVA_HOME/include -I$JAVA_HOME/include/linux - 
> DLINUX -pthread -fPIC -shared -O3 -Wall -m64  \
> +       gcc -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -DLINUX - 
> pthread -fPIC -shared -O3 -Wall -m64  \
>        -o ../../release/lib/deployed/$JDK_ID/linux-amd64/ 
> libprofilerinterface.so \
>        ../src-jdk15/class_file_cache.c \
>        ../src-jdk15/attach.c \
>
> I don't know what "gcc32" is for.
For backward compatibility. The build-script is from netbeans  
codebase. It is for jdk 1.5 and therefore the native agent should be  
build by the same compiler as jdk 1.5. It can be changed for visualvm,  
but gcc32 is there from the beginning.

Bye,
--
Tomas Hurka   <mailto:tomas.hurka at sun.com>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic






More information about the distro-pkg-dev mailing list