Announcement

Collapse
No announcement yet.

Which C compiler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Which C compiler

    Hi,

    I would like to compile some *nix utilities (specifically the Shapelib collection) for WinXP 32, and possibly for use with PowerBasic 9.

    Included in the download are .h files, .c files, makefiles, .lib files, and .dll files.

    The idea is that if you have a c compiler installed, running the makefile should produce executables for each utility listed in the makefile for WinXP. I think.

    I see that there are free C compilers available - Any suggestion on one to use for this operation?

    I'm hoping to find one that I can "just download, install and use" -- without "having to do something else" first.

    I realize this is close to being "off-topic" but I was hoping to find a compiler that might be a complement to PB9.

    Sincerely,

    Ken
    Ken S. Elvehjem
    [email protected]

  • #2
    I suggest you use MinGW32 and Msys , Msys is a handy shell to run the compiler and utilities. http://www.mingw.org/wiki/HOWTO_Inst...Compiler_Suite

    [edit] My recommendation may not be the best, I just went to the shapelib site and downloaded the sourcecode, but there seems to a problem with the make file, however there's a bin-win of an earlier version [/edit]
    Last edited by Johan Klassen; 30 Jul 2009, 05:41 PM.
    as the salmon fish is compelled to go back to it's birthplace to spawn, so comes a day when man is compelled to go back to it's source.. GOD

    Comment


    • #3
      If something must done the proper way you must do it yourself.

      Comment


      • #4
        Originally posted by Marcel Kollenaar View Post
        +1 for Pelles
        Scott Slater
        Summit Computer Networks, Inc.
        www.summitcn.com

        Comment


        • #5
          OK, Thanks, Guys!

          I'll check them out.

          Sincerely,

          Ken
          Ken S. Elvehjem
          [email protected]

          Comment


          • #6
            lcc32 is pretty lightweight n cute, and in the tradition of PB makes nice tiny exes
            -

            Comment


            • #7
              I really like the new Code::Blocks Open Source suite. It is a wxWidgets product and looks and runs the same on Windows as on Linux.

              The IDE with all the features you need, having a consistent look, feel and operation across platforms.
              Fred
              "fharris"+Chr$(64)+"evenlink"+Chr$(46)+"com"

              Comment


              • #8
                Originally posted by Fred Harris View Post
                I really like the new Code::Blocks Open Source suite. It is a wxWidgets product and looks and runs the same on Windows as on Linux.

                http://www.codeblocks.org/
                While I haven't used it too much I'll second Fred's choice. I believe one option download includes the gcc compilers?
                I also think it will do an auto set up if it detects vc on windows?

                Maybe Fred will verify?

                James

                Comment


                • #9
                  Yes, it can be set up to use any other C/C++ compiler you have on your machine. The several times I've installed it on Windows machines I just opted to let it install & use the GNU compilers. I do recall though that it detected the VC++ 6.0 Microsoft compiler though.

                  I've only played around with it a little bit using Ubuntu Linux. With that operating system I had always just done command line compiling, and other than GEdit ( a common Linux text editor about like Wordpad ) I never used an Ide. That's why I thought CodeBlocks was so neat. It really does look and operate under Linux exactly as under Windows. Modules can be added to it to work with various programming languages and so forth. For example, it gave me the option of creating a Gtk+ project in Linux. Fact is, I just never seem to get enough time to work with Linux. I can't stare at a computer screen 24 hours a day!
                  Fred
                  "fharris"+Chr$(64)+"evenlink"+Chr$(46)+"com"

                  Comment

                  Working...
                  X