Solved

gcc for NT that compiles stand-alone executable

Posted on 1998-10-29
2
273 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
Comment Utility
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
Comment Utility
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 to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
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 and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

743 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

13 Experts available now in Live!

Get 1:1 Help Now