Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Heresy of the highest order

Heresy of the highest order

Scheduled Pinned Locked Moved The Lounge
c++databasecomlinuxquestion
21 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Phil Harding
    wrote on last edited by
    #1

    I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
    myBlog [^]  |  mySite [^]

    R M L C B 14 Replies Last reply
    0
    • P Phil Harding

      I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
      myBlog [^]  |  mySite [^]

      R Offline
      R Offline
      Ryan Roberts
      wrote on last edited by
      #2

      Gcc does a good enough job, though it is damn slow when churning though tmeplate heavy C++. You should think about using a portability layer of some sort.. does the project require a user interface? If not then you should be able to get away with boost for a nice portable set of libraries for IO / threading etc. Ryan

      O fools, awake! The rites you sacred hold Are but a cheat contrived by men of old, Who lusted after wealth and gained their lust And died in baseness—and their law is dust. al-Ma'arri (973-1057)

      1 Reply Last reply
      0
      • P Phil Harding

        I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
        myBlog [^]  |  mySite [^]

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        As far as i know, there is only one compiler for linux, gcc/g++, and can also be used on Sun machines, maybe not installed by default, but it should work. for the rest google returned this page ( of many others ) : IDE/Editors[^]


        Maximilien Lincourt Your Head A Splode - Strong Bad

        1 Reply Last reply
        0
        • P Phil Harding

          I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
          myBlog [^]  |  mySite [^]

          L Offline
          L Offline
          L_u_r_k_e_r
          wrote on last edited by
          #4

          gcc/g++ or VisualAge C++ http://www-306.ibm.com/software/awdtools/vacpp/ Last time I wrote for unix I did most of my development on a windows box using Visual Studio and ftp'd the files to the unix box and compiled with g++. It was all a non gui backend processing app so I just stayed with standard C++, templates and all that jazz. No issues at all.

          P 1 Reply Last reply
          0
          • P Phil Harding

            I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
            myBlog [^]  |  mySite [^]

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            In addition to tht other answers, if you need to do a program with a Graphical User Interface, you can have a look at wxWidgets[^]. It is quite similar to the MFC and is cross-platform.

            1 Reply Last reply
            0
            • L L_u_r_k_e_r

              gcc/g++ or VisualAge C++ http://www-306.ibm.com/software/awdtools/vacpp/ Last time I wrote for unix I did most of my development on a windows box using Visual Studio and ftp'd the files to the unix box and compiled with g++. It was all a non gui backend processing app so I just stayed with standard C++, templates and all that jazz. No issues at all.

              P Offline
              P Offline
              Phil Harding
              wrote on last edited by
              #6

              Thanks for that, did you use an STL or boost?, if STL which one? Phil Harding.
              myBlog [^]  |  mySite [^]

              T L 2 Replies Last reply
              0
              • P Phil Harding

                Thanks for that, did you use an STL or boost?, if STL which one? Phil Harding.
                myBlog [^]  |  mySite [^]

                T Offline
                T Offline
                toxcct
                wrote on last edited by
                #7

                Phil Harding wrote:

                did you use an STL or boost?

                STL forever...

                Phil Harding wrote:

                if STL which one?

                hm, how to know that ?


                TOXCCT >>> GEII power
                [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

                1 Reply Last reply
                0
                • P Phil Harding

                  I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                  myBlog [^]  |  mySite [^]

                  R Offline
                  R Offline
                  Ryan Roberts
                  wrote on last edited by
                  #8

                  If its a database application. A nice portable C++ DB layer is DTL[^]. ORM via templates, very sweet. Ryan

                  O fools, awake! The rites you sacred hold Are but a cheat contrived by men of old, Who lusted after wealth and gained their lust And died in baseness—and their law is dust. al-Ma'arri (973-1057)

                  P N 2 Replies Last reply
                  0
                  • P Phil Harding

                    Thanks for that, did you use an STL or boost?, if STL which one? Phil Harding.
                    myBlog [^]  |  mySite [^]

                    L Offline
                    L Offline
                    L_u_r_k_e_r
                    wrote on last edited by
                    #9

                    I used STL. Just trying to remember which one... I think it was STLPort. http://www.stlport.org/

                    1 Reply Last reply
                    0
                    • P Phil Harding

                      I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                      myBlog [^]  |  mySite [^]

                      B Offline
                      B Offline
                      Brigg Thorp
                      wrote on last edited by
                      #10

                      I just download Sun Studio 11[^] from Sun's web site. It handles C, C++, and believe it or not...Fortran. It's now free as well. I haven't had time to install it yet. Oh...supported Unix/Linux versions are Solaris 8, 9, and 10, SuSE ES 9, and Red Hat ES 4. Regards, Brigg Thorp Senior Software Engineer Timex Corporation

                      1 Reply Last reply
                      0
                      • P Phil Harding

                        I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                        myBlog [^]  |  mySite [^]

                        B Offline
                        B Offline
                        Bassam Abdul Baki
                        wrote on last edited by
                        #11

                        Try Dev-C++[^]. "If only one person knows the truth, it is still the truth." - Mahatma Gandhi Web - Blog - RSS - Math

                        1 Reply Last reply
                        0
                        • R Ryan Roberts

                          If its a database application. A nice portable C++ DB layer is DTL[^]. ORM via templates, very sweet. Ryan

                          O fools, awake! The rites you sacred hold Are but a cheat contrived by men of old, Who lusted after wealth and gained their lust And died in baseness—and their law is dust. al-Ma'arri (973-1057)

                          P Offline
                          P Offline
                          Phil Harding
                          wrote on last edited by
                          #12

                          Ryan Roberts wrote:

                          A nice portable C++ DB layer is DTL[^].

                          Thanks Ryan, that looks pretty cool Phil Harding.
                          myBlog [^]  |  mySite [^]

                          1 Reply Last reply
                          0
                          • R Ryan Roberts

                            If its a database application. A nice portable C++ DB layer is DTL[^]. ORM via templates, very sweet. Ryan

                            O fools, awake! The rites you sacred hold Are but a cheat contrived by men of old, Who lusted after wealth and gained their lust And died in baseness—and their law is dust. al-Ma'arri (973-1057)

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #13

                            I used DTL in one project and have mixed feelings about it. Just too many compiler warnings :suss:


                            My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

                            R 1 Reply Last reply
                            0
                            • P Phil Harding

                              I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                              myBlog [^]  |  mySite [^]

                              N Offline
                              N Offline
                              Nemanja Trifunovic
                              wrote on last edited by
                              #14

                              For Unix/Linux develoment, I simply use gvim and g++, although some people recommend Code::Blocks[^] as well.


                              My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

                              1 Reply Last reply
                              0
                              • N Nemanja Trifunovic

                                I used DTL in one project and have mixed feelings about it. Just too many compiler warnings :suss:


                                My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

                                R Offline
                                R Offline
                                Ryan Roberts
                                wrote on last edited by
                                #15

                                Yeah, I had some nasty concurrency problems in an early version, SQL being executed out of order when using a supposedly thread safe object. Still I've never found anything comparable for C++, and it is a big timesaver, as well as enabling some elegant DB code. Ryan

                                O fools, awake! The rites you sacred hold Are but a cheat contrived by men of old, Who lusted after wealth and gained their lust And died in baseness—and their law is dust. al-Ma'arri (973-1057)

                                1 Reply Last reply
                                0
                                • P Phil Harding

                                  I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                                  myBlog [^]  |  mySite [^]

                                  A Offline
                                  A Offline
                                  Alvaro Mendez
                                  wrote on last edited by
                                  #16

                                  Phil Harding wrote:

                                  for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)?

                                  Well since no one's said it yet, how about Java! :):rolleyes:


                                  1 Reply Last reply
                                  0
                                  • P Phil Harding

                                    I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                                    myBlog [^]  |  mySite [^]

                                    J Offline
                                    J Offline
                                    Jeremy Falcon
                                    wrote on last edited by
                                    #17

                                    Free and great to use... http://www.kdevelop.org/[^] Jeremy Falcon

                                    1 Reply Last reply
                                    0
                                    • P Phil Harding

                                      I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                                      myBlog [^]  |  mySite [^]

                                      J Offline
                                      J Offline
                                      John Fisher
                                      wrote on last edited by
                                      #18

                                      I've never had to do a cross-platform job, but if I did, I'd check to see if MainSoft[^] was had the tools I needed. John
                                      "You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek.

                                      1 Reply Last reply
                                      0
                                      • P Phil Harding

                                        I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                                        myBlog [^]  |  mySite [^]

                                        D Offline
                                        D Offline
                                        Douglas Troy
                                        wrote on last edited by
                                        #19

                                        I realize you've had many answers to your question, so I thought I'd throw my 'hat' into the ring. I did a small crossplatform program that was used on Windows and Linux (Mandrake). I downloaded Dev C++[^], installed several different frameworks, and ended up using wxWidgets[^] (formally wxWindows). In less than an hour, I had the entire IDE, compiler and framework installed, a small test application developed and ported between the two systems. If I had to do this again, I would go exactly that same route.


                                        :..::. Douglas H. Troy ::..
                                        Bad Astronomy |Development Blogging|Viksoe.dk's Site

                                        1 Reply Last reply
                                        0
                                        • P Phil Harding

                                          I realise that I may be hung drawn and quartered for this one ;), but does anyone have any recomendations for a C++ compiler/Dev env that will work on Unix (Sun) and/or Linux (Mepis)? Fortuneatly/Unfortuneatly I have a project from my client to write a cross platform/portable database application for Windows and Unix, I mentioned that I'd never developed for Unix before, and he confidently replied that he was sure I'd manage :doh: hey ho Phil Harding.
                                          myBlog [^]  |  mySite [^]

                                          D Offline
                                          D Offline
                                          Daniel Turini
                                          wrote on last edited by
                                          #20

                                          I know, you asked for C++, but since someone already suggested Java... From the Churchdown Parish Magazine: "Would the Congregation please note that the bowl at the back of the Church, labelled 'For The Sick,' is for monetary donations only."

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups