This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CNI Segfault


Daniel Hanlon writes:
 > Hello,
 > 
 > I'm using gcj from gcc 3.3.2(20031218) on compiled with CFLAGS
 > -O3 -march=pentium4 -pipe -fomit-frame-pointer 
 > 
 > Whilst simple java classes work I'm getting a segmentation fault when I try to 
 > use CNI to call java from C++. For example

Have you read the "Invocation" section in gcj.info?

Hint: JvCreateJavaVM.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]