-
C Compilers/ IDE's
I'm looking for a good compiler that works from a command prompt instead of
a GUI.
Anything out there that will work that way under Windows 2000?
(Can VC++ 6.0 work that way somehow??)
-
Re: C Compilers/ IDE's
All of them do.
"Jeff Johnson" <johnsonjs@hotmail.com> wrote:
>
>I'm looking for a good compiler that works from a command prompt instead
of
>a GUI.
>
>Anything out there that will work that way under Windows 2000?
>
>(Can VC++ 6.0 work that way somehow??)
-
Re: C Compilers/ IDE's
"Jeff Johnson" <johnsonjs@hotmail.com> wrote:
>
>I'm looking for a good compiler that works from a command prompt instead
of
>a GUI.
>
>Anything out there that will work that way under Windows 2000?
>
>(Can VC++ 6.0 work that way somehow??)
Jeff:
I'll answer your last question first:
Yes, you can run the Visual C++ compiler from the command prompt. The name
of the compiler is cl.exe, and it is in the bin directory where you installed
Visual C++. If you want to compile hello.cpp, for instance, you can type:
cl /Fehello.exe hello.cpp
The /Fe option lets you specify the name and location of the exe file.
There are dozens of other command line flags for cl. Check out MSDN for
more details.
As far as other "command line" compilers go, there's the Win32 port of the
GNU C++ compiler, gcc. You can download the compiler from a variety of sources
on the Internet. THe Cygwin package includes gcc, as well as a whole bunch
of other UNIX-like tools (http://www.cygwin.com/).
http://www.humblecoder.com/
-
Re: C Compilers/ IDE's
"David Kroll" <dgkroll@nospam.hotmail.nospam.com> wrote:
>
>"Jeff Johnson" <johnsonjs@hotmail.com> wrote:
>>
>>I'm looking for a good compiler that works from a command prompt instead
>of
>>a GUI.
>>
>>Anything out there that will work that way under Windows 2000?
>>
>>(Can VC++ 6.0 work that way somehow??)
>
>Jeff:
>
>I'll answer your last question first:
>
>Yes, you can run the Visual C++ compiler from the command prompt. The name
>of the compiler is cl.exe, and it is in the bin directory where you installed
>Visual C++. If you want to compile hello.cpp, for instance, you can type:
>
>cl /Fehello.exe hello.cpp
>
>The /Fe option lets you specify the name and location of the exe file.
>
>There are dozens of other command line flags for cl. Check out MSDN for
>more details.
>
>As far as other "command line" compilers go, there's the Win32 port of the
>GNU C++ compiler, gcc. You can download the compiler from a variety of
sources
>on the Internet. THe Cygwin package includes gcc, as well as a whole bunch
>of other UNIX-like tools (http://www.cygwin.com/).
>
>http://www.humblecoder.com/
>
>
>
>
Also, Borland/Inprise gives there compiler away Their command line version
is available for download at their web site.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks