Solved

gcc for NT that compiles stand-alone executable

Posted on 1998-10-29
2
301 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using unmanaged DLL from managed application 14 295
Super Scope, DHCP 5 91
gdb doesn't stop on breakpoint 2 97
windows 10 pro lost profile. 10 45
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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.

830 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