Thread: Dev C++

  1. #1
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    278

    Dev C++

    1. How can i change the warning level in Dev C++?
    2. How can i update the background gcc compiler with the latest one?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    1. How can i change the warning level in Dev C++?
    I think it's in Tools->Compiler Options. There might be an option for warning level there. If not, add "-W -Wall" to "extra compiler options".

    2. How can i update the background gcc compiler with the latest one?
    That would be slightly more complicated. I've never done it, but since you can configure the compiler that Dev-C++ uses, I'm sure you could download the latest GCC, instead it where you choose, and instruct Dev-C++ to use it.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    The MinGW wiki comes with an article on what to install and how:
    http://www.mingw.org/MinGWiki/index....3124da3e143e84

    The only thing you may want to consider is that the versions available at the download webpage of the main website are the latest working release. This also means some are somewhat old. Candidate versions are excellent choices for about all modules. So you may prefer to download from sourceforge at http://sourceforge.net/project/showf...?group_id=2435

    My advise is to first download from the main website according to what you read on the wiki. Don't install anything. Then go to sourceforge and replace those modules you downloaded with those found in the Candidate header. Also download the GDB 6.3.2 Snapshot of GDB and MSYS. Much, much better than the ones provided in Current.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    This is what I have on my mingw downloads folder:

    binutils-2.17.50-20060824-1.tar.gz
    gcc-core-3.4.5-20060117-1.tar.gz
    gcc-g++-3.4.5-20060117-1.tar.gz
    mingw32-make-3.81-1.tar.gz
    mingw-runtime-3.10.tar.gz
    mingw-utils-0.3.tar.gz
    MSYS-1.0.10.exe
    msysDTK-1.0.1.exe
    w32api-3.7.tar.gz
    gdb-6.3-2.exe

    Find those in sourceforge and I believe you will have the latest instalment of MinGW. Then it is just a matter of keeping an eye on the news box on the main mingw webpage.

    EDIT: Oh... You need to change some of the executables dev-c++ calls. Tools menu->Compiler Options->Programs tab and then:

    gcc is mingw32-gcc.exe
    g++ is mingw32-g++.exe
    make is mingw32-make.exe
    Last edited by Mario F.; 09-17-2006 at 08:39 AM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Ken Fitlike
    This question is not about the c++ programming language. Moved to Tech.
    maybe not, but it's definately not "Computer questions not related to C/C++/C# programming" and "Questions specific to C++ Programming" doesn't dictate that it must be directly related to the language itself... IMO it was fine where it was...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Strange... My answer to a completely different thread is included here. The OP was asking about installing Dev-C++. I'm pretty sure...

    EDIT: nevermind. It's the second question.
    Last edited by Mario F.; 09-18-2006 at 02:36 PM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Ken Fitlike
    In future, if you feel one of my moderation decisions is inappropriate I suggest you raise it directly with me or with one of the other mods or admins by pm or use the 'report bad post' feature to have your concerns reviewed.
    how did I know this would be your response... oh that's right, publicly questioning authority is bad... it leads to... oh no... improvements!
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  8. #8
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Ken Fitlike
    ...satisfy your current political agenda.
    what politcal agenda? I saw something I thought was wrong and pointed it out... you're the one that took it personally...

    Quote Originally Posted by Ken Flitlike
    For my part, I have only responded thus far...
    there was never a need for a response in the first place... as I said... I just saw something, had an opinion, and let it be known.

    Quote Originally Posted by Ken Flitlike
    Please also note that further off-topic remarks posted in this thread will result in it being closed.
    This is really why I'm replying... in hopes of getting this closed... this thread took an ugly turn and needs to die.

    I apologize if I offended you, it wasn't meant as a personal attack of any kind. I disagreed with something that was done, and I brought it up. My intention was to see if people agreed or disagreed with my position. I hold nothing against you, and quite honestly did not even look at the name of who it was moved by before posting my opinion.

    If you feel the need to delete any or all of my posts in this thread, please do so.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  9. #9
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Not.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Whats better, C-Free or Dev C++??
    By i_can_do_this in forum Tech Board
    Replies: 10
    Last Post: 07-07-2006, 04:34 AM
  2. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  3. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  4. DEV C++ Limitations?
    By Kirdra in forum Game Programming
    Replies: 3
    Last Post: 09-09-2002, 09:40 PM
  5. Tutorial about Bloodshed Dev!
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 07:42 PM