Solved

gcc for NT that compiles stand-alone executable

Posted on 1998-10-29
2
283 Views
Last Modified: 2012-05-04
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.
0
Comment
Question by:omok
2 Comments
 
LVL 5

Accepted Solution

by:
laeuchli earned 20 total points
ID: 1253888
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.
Jesse
0
 
LVL 1

Author Comment

by:omok
ID: 1253889
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.
0

Featured Post

Being driven mad by email signature updates?

Having to make a change to your users’ email signatures, yet again? Feel like your head is going to explode? Rely on an Exclaimer email signature management solution to make the process simple!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now