Menu

Dev-cpp & mingw version

Mark Kica
2004-08-02
2012-09-26
  • Mark Kica

    Mark Kica - 2004-08-02

    I look at sources of dev-cpp , i would like ask why is
    version of mingw gcc compilers set constantly (version.pas)?
    it can bring  problems if you want use different version of
    mingw ,because include and libs paths are different. I think ,it should be better if dev-cpp check for version during first start.
                                  

     
    • Marek Januszewski

      those are hardset only when there no devcpp.ini, otherwise they're taken from there - and you can modify it there.

       
    • Michal Molhanec

      Michal Molhanec - 2004-08-02

      IMHO they should be completely removed, because in gcc > 3.2 the compiler finds its include and lib path itself so it's not necessary for Dev-C++ to set include and lib paths, only the bin. which is same for all versions

       
      • Marek Januszewski

        doesn't it look in \mingw instead of \dev-cpp ?

         
        • Michal Molhanec

          Michal Molhanec - 2004-08-02

          it looks in <path_where_is_gcc.exe>\..\include (lib)

          if you have on the root of disk mingw dir it will look there too, no matter where you installed mingw (but specifiing -I doesn't disable this behaviour)

          try gcc -print-search-dirs

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.