compilers

This is a discussion on compilers within the C Programming forums, part of the General Programming Boards category; Hi i have ms visual studio developer.net i just want to know can i write, compile, link and run C ...

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    13

    compilers

    Hi i have ms visual studio developer.net i just want to know can i write, compile, link and run C programs on this or not thank-you
    Last edited by fige18; 10-14-2004 at 11:32 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,794
    This very website has something to say on the topic:
    http://www.cprogramming.com/compilers.html
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    13
    Pleas does anyone know if you can use MS DEVELOPER for the language C and how you do it thanks please just say if you know you cant or if you can please tell me how thanks
    Last edited by fige18; 10-14-2004 at 12:16 PM.

  4. #4
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    I wouldn't reccomend it
    hello, internet!

  5. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    13
    why would u not recommend it what would you recommend me to use then please?

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    i'm going to take this thread over because i actually will read the resources i get....
    this is now my thread...

    i tried to install DJGPP last night but the readme seems to be lacking some important details...

    i unzipped djdev, gcc, gpp and bnu all on the same level in the folder C:\djgpp
    i added C:\djgpp\djdev\bin to PATH
    created enviroment variable name DJGPP
    pointed DJGPP at C:\djgpp\dvdej\djgpp.env

    if i try to run gcc (or gxx) it says it can't find gcc...

    i assumed djgpp.env would take care of locating gcc, but i must be mistaken. honestly i have never seen a .env file before so i'm not for sure....i know i can add gcc and gpp to my path, but the install instructions did not mention it....

    anyone know what i did wrong or what i missed?
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  7. #7
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by fige18
    Hi i have ms visual studio developer.net i just want to know can i write, compile, link and run C programs on this or not thank-you
    The easiest way to find out is to either look at the box it came in (which should mention all the languages it contains on it someplace).

    Another way would be to check the website for it: http://msdn.microsoft.com/vstudio/

    And one last way that just occured to me is to start a new project and see the types it has available. One of them is probably Visual C++ .NET.

  8. #8
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,164
    Quote Originally Posted by misplaced
    if i try to run gcc (or gxx) it says it can't find gcc...

    i assumed djgpp.env would take care of locating gcc, but i must be mistaken. honestly i have never seen a .env file before so i'm not for sure....i know i can add gcc and gpp to my path, but the install instructions did not mention it....

    anyone know what i did wrong or what i missed?
    This is what I found in the README...
    3. After unzipping all the zip files, set the DJGPP environment variable to point to the file DJGPP.ENV in the main DJGPP installation directory and add its BIN subdirectory to your PATH.
    .
    .
    .
    No matter which method you use, assuming your DJGPP installation is rooted at C:\DJGPP, the values of the two environment variables DJGPP and PATH should be set like this:

    set DJGPP=C:\DJGPP\DJGPP.ENV
    set PATH=C:\DJGPP\BIN;%PATH%
    gcc should be in that bin directory...The .ENV file has nothing to do with Windows being able to find the gcc executable.
    If you understand what you're doing, you're not learning anything.

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, 07:03 AM
  4. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21