Can't build with --enable-visualvm

Tomas Hurka Tomas.Hurka at Sun.COM
Mon May 10 07:48:31 PDT 2010


Andrew,

On 5 May 2010, at 16:45, Tomas Hurka wrote:

> 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.

I changed gcc32 to gcc in buildnative-linux64.sh in netbeans-profiler- 
visualvm_release68_1.tar.gz
<https://visualvm.dev.java.net/files/documents/7163/150173/netbeans-profiler-visualvm_release68_1.tar.gz 
 >

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