AndiMb opened a new pull request #1076: [NETBEANS-1157] Changed NBI Native 
Launcher compiler options
URL: https://github.com/apache/incubator-netbeans/pull/1076
 
 
   Removed Compiler and Linkeroption -mno-cygwin since the 
x86_64-w64-mingw32-gcc needs to be used
   a Cygwin64 Tool collection has to be configured in Netbeans before compiling 
(with the compilers $CYGWIN64_PATH$\bin\x86_64-w64-mingw32-gcc.exe and 
$CYGWIN64_PATH$ \bin\x86_64-w64-mingw32-g++.exe)
   
   Steps to compile:
   1. Download and install Cygwin on a Windows machine (with the latest version 
of gcc-core, gcc-g++, mingw64-x86_64-gcc-core, mingw64-x86_64-gcc-g++, gdb, 
make)
   2. Download and run Netbeans with C/C++ support
   3. Open the Netbeans C/C++ project (.../nbi/engine/native/launcher/windows)
   4. Create a new Netbeans C/C++ configuration "Cygwin64" (Tools -> Options -> 
C/C++)
      Add $CYGWIN64_PATH$\bin\x86_64-w64-mingw32-gcc.exe as C compiler and 
$CYGWIN64_PATH$\bin\x86_64-w64-mingw32-g++.exe as C++ compiler
   5. Clean and Build the project
   6. The nlw.exe is in the folder 
...\nbi\engine\native\launcher\windows\dist\nlw.exe
   
   Hint: Do compile with the with configuration "Debug". The options are only 
added here, especially the needed libraries. In my opinion there are no real 
debug compiler options set in the "Debug" configuration. The Release 
configuration is not set up. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to