NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JNI in Netbeans 6.8 with cygwin compiler

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
redhotspike
Posted via mailing list.





PostPosted: Mon Mar 19, 2012 7:47 pm    Post subject: JNI in Netbeans 6.8 with cygwin compiler Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo