Thread: c compilers

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    67

    c compilers

    i'm not sure if this is in the proper forum however i will post it anyway.... i'm looking for a command line compiler such as gcc to use on my windows machine, i currently use dev-c++ and/or microsoft visual c++ however i prefer using gcc that comes with linux pc's , can anyone help?

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    dev-c++ uses the windows version of gcc as its compiler.

  3. #3
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    If you're looking for a command line compiler in general then try borland , they've gone command-line-style in their latest version(s) if i remember well. But for using gcc on your windows machine i'm not so sure. I think Cygwin can do that.
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  4. #4
    ---
    Join Date
    May 2004
    Posts
    1,379
    no bithub was right
    if you set the right environment path then you can run gcc from the command line in windows
    PATH = "D:\Dev-Cpp\bin"

    Code:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    
    D:\Documents and Settings\Ty>gcc
    gcc: no input files
    
    D:\Documents and Settings\Ty>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 08:03 AM
  4. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 04:21 PM
  5. target OS compilers
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-01-2002, 11:08 AM