NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
redhotspike Posted via mailing list.
|
Posted: Mon Mar 19, 2012 7:47 pm Post subject: JNI in Netbeans 6.8 with cygwin compiler |
|
|
SumitIIT wrote
| Quote: |
gcc -shared -m 32 -c -g -I/cygdrive/C/Program\
Files/Java/jdk1.7.0/include -I/cygdrive/C/Program\
Files/Java/jdk1.7.0/include/win32 -MMD -MP -MF
build/Debug/Cygwin-Windows/_ext/C_/Documents_and_Settings/user_2/My_Documents/NetBeansProjects/JNIDemocdll/JNIDemo.o.d
-o
build/Debug/Cygwin-Windows/_ext/C_/Documents_and_Settings/user_2/My_Documents/NetBeansProjects/JNIDemocdll/JNIDemo.o
/cygdrive/C/Documents\ and\ Settings/user_2/My\
Documents/NetBeansProjects/JNIDemocdll/JNIDemo.c
cc1: error: missing argument to "-m"
|
the option for gcc is -m32 not "-m 32"
--
View this message in context: http://netbeans-org.1045718.n5.nabble.com/JNI-in-Netbeans-6-8-with-cygwin-compiler-tp2900948p5576996.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|