• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

gcc for NT that compiles stand-alone executable

Does anyone happens to know where I can find a NT/Win32 port of gcc that compiles to stand-alone executable?
I tried Cygnus Cygwin32 Developer's Kit, but the executable seems to require cygwinb19.dll.
I wish to create a stand-alone win32 executable.
1 Solution
gcc NEEDS the libs in cygnus dll. There is no way you can have gcc without it without doing a complete rewrite which I am fairly certain that no one has done. However there are lots of other free compilers around, you could post another question on experts-exchange for the best one around.
omokAuthor Commented:
After many hours of searching on the web, I found what I need:
Mingw32 is short for the Minimalist GNU-Win32 package, and it is a
package which allows you to use GCC (as supplied by Cygnus in their GNU-
Win32 or Cygwin32 package) the GNU compiler, on Win32 platforms like
Windows 95 or NT, to compile "native" programs.

In this case "native" means programs which don't require extra DLLs like
the Cygwin DLL. Mingw32 programs use CRTDLL.DLL to provide their C run
time library functions, and CRTDLL.DLL is supplied with all current
Win32 platforms.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now