Compiling C++ Code in RedHat Linux 4.1.2.46 GCC 4.1.2.
822737Nov 4 2011 — edited Nov 7 2011i want to compile a small C++ code in RedHat Linux. It is an integration with Oracle JNI 1.5.0 .
Can some provide me the correct compilation/linking procedure ? I have created a code as below. It compile well but while executing it is throwing core dum/java core etc.
g++ -I /aime/vimalraj/jdk_sr8/java-s390x-60/include -I /aime/vimalraj/jdk_sr8/java-s390x-60/include/linux -shared readfile.cc -o readfile.so