Inicio > develop, unix/linux, windows > C/C++ and NetBeans

C/C++ and NetBeans

jueves, 15 de enero de 2009 Dejar un comentario Ir a comentarios

C/C++ and NetBeans

NetBeans needs C/C++ compiler, the better option is GCC (GNU Compiler Collection).

On Win32 you can use Cygwin to get it.

On Project Properties you can change the Build options (Debug or Release), add libraries, Plataform, Package type (tar/zip/rpm,deb), Strip Symbols (reduce size of the executable)

Your executable will be on:
\NetBeansProjects\(your project)\build\(Debug or Release)\Cygwin-Windows\

Remember you application depends of cygwin1.dll ( c:\cygwin\bin\cygwin1.dll )

If you compile C files you can disable this depency using “-mno-cygwin” on CFLAGS options on your Makefile

See dependencies of you executable (using cygwin):

objdump application.exe | grep "DLL"

or use Depency Walker

Cygwin
http://www.cygwin.com/
http://www.redhat.com/services/custom/cygwin/

MinGw
http://www.mingw.org/

Interix
http://www.interopsystems.com/InteropToolworks.htm

Categories: develop, unix/linux, windows Tags: ,
  1. Sin comentarios aún.
  1. Sin trackbacks aún.

Switch to our mobile site