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. Linux for development

Linux for development

Scheduled Pinned Locked Moved The Lounge
questionc++linux
37 Posts 21 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.
  • A Anton Afanasyev

    No, no, I dont insist on Linux...I just didnt know how to better name that whole *nix group, so just said Linux. As for the IDE, well yes I DO use VisualStudio, but not the Visual part of it. Im mostly interested in game development, so all I do is create w indwo (from code) and do the rest from code, so a simple editor is fine, although a bit inconvenient I guess, but it'll be OK. Which is why my previous question: is creating a simple window different on Linux from that on Unix? just wondering here...Obviously its different from that on Windows. And no MFC-like things for me. Dont like it heh. And also, one more thing. Setting up FreeBSD6.1 here, and I screwed up on the networking part. At least I think I did. It did not detect teh DHCP thing because I have a router which I set to block everything except a given list of MAC addresses. I guess that screwed up the DHCP detection. So now, i cannot install KDE as it cannot connect to the FTP. Any suggestions (well, ok, EXCEPT starting over...)? rara avis in terris

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

    2ASoft wrote:

    Im mostly interested in game development

    Games on Unix? Hmmmm...

    2ASoft wrote:

    Which is why my previous question: is creating a simple window different on Linux from that on Unix? just wondering here...

    Frankly, I have never done that. All I do on Linux is make daemons (like services on Windows) and libraries. If Jim Crafton[^] comes accross this thread, I bet he will tell some "war stories" on GUI development for Linux :)


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

    1 Reply Last reply
    0
    • A Anton Afanasyev

      No, no, I dont insist on Linux...I just didnt know how to better name that whole *nix group, so just said Linux. As for the IDE, well yes I DO use VisualStudio, but not the Visual part of it. Im mostly interested in game development, so all I do is create w indwo (from code) and do the rest from code, so a simple editor is fine, although a bit inconvenient I guess, but it'll be OK. Which is why my previous question: is creating a simple window different on Linux from that on Unix? just wondering here...Obviously its different from that on Windows. And no MFC-like things for me. Dont like it heh. And also, one more thing. Setting up FreeBSD6.1 here, and I screwed up on the networking part. At least I think I did. It did not detect teh DHCP thing because I have a router which I set to block everything except a given list of MAC addresses. I guess that screwed up the DHCP detection. So now, i cannot install KDE as it cannot connect to the FTP. Any suggestions (well, ok, EXCEPT starting over...)? rara avis in terris

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

      2ASoft wrote:

      Any suggestions (well, ok, EXCEPT starting over...)?

      You don't need to reinstall. To rerun that part you can login as or su root, type in sysinstall and you should get back to a menu that will allow you go to the DHCP config again. It's under: post install configuration >> configure additional network services >> configure additional network devices. Jeremy Falcon

      1 Reply Last reply
      0
      • A Anton Afanasyev

        No, no, I dont insist on Linux...I just didnt know how to better name that whole *nix group, so just said Linux. As for the IDE, well yes I DO use VisualStudio, but not the Visual part of it. Im mostly interested in game development, so all I do is create w indwo (from code) and do the rest from code, so a simple editor is fine, although a bit inconvenient I guess, but it'll be OK. Which is why my previous question: is creating a simple window different on Linux from that on Unix? just wondering here...Obviously its different from that on Windows. And no MFC-like things for me. Dont like it heh. And also, one more thing. Setting up FreeBSD6.1 here, and I screwed up on the networking part. At least I think I did. It did not detect teh DHCP thing because I have a router which I set to block everything except a given list of MAC addresses. I guess that screwed up the DHCP detection. So now, i cannot install KDE as it cannot connect to the FTP. Any suggestions (well, ok, EXCEPT starting over...)? rara avis in terris

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #10

        The handbook[^] should be somewhere on your system as well :-D You could also try this[^] and that[^] :-D

        R 1 Reply Last reply
        0
        • S Super Lloyd

          The handbook[^] should be somewhere on your system as well :-D You could also try this[^] and that[^] :-D

          R Offline
          R Offline
          RoswellNX
          wrote on last edited by
          #11

          and the built-in manual you can use right when the command line is up... you just type in 'man man' and it will bring up a manual page that explains the built in manual and you can go on to searching for other stuff...like i think 'hier man' explains the *nix file tree... Roswell :)

          "Angelinos -- excuse me. There will be civility today."
          Antonio VillaRaigosa
          City Mayor, Los Angeles, CA

          1 Reply Last reply
          0
          • A Anton Afanasyev

            I hope this isnt that much of a programming question.... Anyways, I was just thinking of installing linux on one of my machines, you know, just to try development under it. I'll be using C++. Any suggestions for what flavor of linux and what compilers are better(best)? I DO realize I could google all this, but we have such a nice helpfull community here hehe :-D rara avis in terris

            J Offline
            J Offline
            Jim Crafton
            wrote on last edited by
            #12

            Oh. My. God. (rubs hands together in anticipation of a good rant) Gather round children...

            2ASoft wrote:

            thinking of

            2ASoft wrote:

            just to try development under it

            2ASoft wrote:

            using C++

            And that's where you want to stop. Now. For the childrens sake. As for BSD, Linux, Solaris, et al, they pretty much all involve large amounts of pain*. Actually, large amounts of frustration, annoyance, rage, cursing, and just general hair pulling. Unbuntu is a nice distro in terms of ease of installation. And it's dead simple to add various software packages, especially dev packages. Why, might you ask? Two reasons: GCC and X!

            2ASoft wrote:

            compilers

            Compilers? As in plural? Surely you jest, my good friend?! Surely you fail to see the light, the one true way, the path to both Freedom and Salvation: And that is the glory of the *nix toolset, GCC, also known as one of the slowest C++ compilers on the face of the earth! But hey it give you lots of mysterios warnings! And it's compliant (sort-of)! Seriously, GCC is pretty much it, and due to the political landscape of linux, as well as stellar incompetence on the part of older compiler vendors like Sun and HP (charging $5,000 for a dev toolchain on solaris is friggin ridiculous, considering it wasn't even very good either), means that any other competition has long given up on the platform. So GCC is where it's at, for better or worse. When using GCC, especially for C++, and *especially* if you include the STL, and doubly so if you make use of your own template classes, be prepared to twiddle your thumbs. I'm assuming your code base will consist of more than one file, and more than a 1000 LOC. If so, be prepared to either become a phenomenal sketch artist, or get really good at Solitaire. If your looking for a good IDE, just give up now. Oh, but Jim, that's just your own personal bitterness and cynicism showing, surely it can't be that bad, can it? Yes it can. Without fail, every single IDE I have tried under linux has sucked, to some degree or another. Think VS is annoying or sucky? Be prepared for snail blowing suckage at *least* several orders of a magnitude greater than anything you could possibly imagine. Broken build systems (hey KDevelop - can you hear me?) or two diffe

            J R F 3 Replies Last reply
            0
            • J Jim Crafton

              Oh. My. God. (rubs hands together in anticipation of a good rant) Gather round children...

              2ASoft wrote:

              thinking of

              2ASoft wrote:

              just to try development under it

              2ASoft wrote:

              using C++

              And that's where you want to stop. Now. For the childrens sake. As for BSD, Linux, Solaris, et al, they pretty much all involve large amounts of pain*. Actually, large amounts of frustration, annoyance, rage, cursing, and just general hair pulling. Unbuntu is a nice distro in terms of ease of installation. And it's dead simple to add various software packages, especially dev packages. Why, might you ask? Two reasons: GCC and X!

              2ASoft wrote:

              compilers

              Compilers? As in plural? Surely you jest, my good friend?! Surely you fail to see the light, the one true way, the path to both Freedom and Salvation: And that is the glory of the *nix toolset, GCC, also known as one of the slowest C++ compilers on the face of the earth! But hey it give you lots of mysterios warnings! And it's compliant (sort-of)! Seriously, GCC is pretty much it, and due to the political landscape of linux, as well as stellar incompetence on the part of older compiler vendors like Sun and HP (charging $5,000 for a dev toolchain on solaris is friggin ridiculous, considering it wasn't even very good either), means that any other competition has long given up on the platform. So GCC is where it's at, for better or worse. When using GCC, especially for C++, and *especially* if you include the STL, and doubly so if you make use of your own template classes, be prepared to twiddle your thumbs. I'm assuming your code base will consist of more than one file, and more than a 1000 LOC. If so, be prepared to either become a phenomenal sketch artist, or get really good at Solitaire. If your looking for a good IDE, just give up now. Oh, but Jim, that's just your own personal bitterness and cynicism showing, surely it can't be that bad, can it? Yes it can. Without fail, every single IDE I have tried under linux has sucked, to some degree or another. Think VS is annoying or sucky? Be prepared for snail blowing suckage at *least* several orders of a magnitude greater than anything you could possibly imagine. Broken build systems (hey KDevelop - can you hear me?) or two diffe

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

              Jim Crafton wrote:

              I wish you the best of luck, and I hope the Force is strong in you.

              Sounds like your in need of a :beer:. :laugh: Jeremy Falcon

              J 1 Reply Last reply
              0
              • J Jeremy Falcon

                Jim Crafton wrote:

                I wish you the best of luck, and I hope the Force is strong in you.

                Sounds like your in need of a :beer:. :laugh: Jeremy Falcon

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #14

                Maybe, Poland lost in the very last minute today, which probably (certainly?) blows their WC chances, and I blew my shins out running today, they feel like someone pored acid on them. And I've spent the last 3 hours trying to fight with getting our new Turtle Beach Montego sound card to properly pull in sound from the SPDIF input. I can't believe: a) How incredibly crappy the drivers are and the associated software b) How stupid some of the UI is for configuring it c) How there's no Tech Support phone number! All you can do is fax something in! d) Arguing with my wife about what I'm typing and listening to her ask questions about what I'm doing, and who you are, and why I don't want to talk to her, and so on and so forth ad nauseam!!!! ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                J L 2 Replies Last reply
                0
                • J Jim Crafton

                  Maybe, Poland lost in the very last minute today, which probably (certainly?) blows their WC chances, and I blew my shins out running today, they feel like someone pored acid on them. And I've spent the last 3 hours trying to fight with getting our new Turtle Beach Montego sound card to properly pull in sound from the SPDIF input. I can't believe: a) How incredibly crappy the drivers are and the associated software b) How stupid some of the UI is for configuring it c) How there's no Tech Support phone number! All you can do is fax something in! d) Arguing with my wife about what I'm typing and listening to her ask questions about what I'm doing, and who you are, and why I don't want to talk to her, and so on and so forth ad nauseam!!!! ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

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

                  Ok, make that two :beer:s! Jeremy Falcon

                  J 1 Reply Last reply
                  0
                  • J Jim Crafton

                    Maybe, Poland lost in the very last minute today, which probably (certainly?) blows their WC chances, and I blew my shins out running today, they feel like someone pored acid on them. And I've spent the last 3 hours trying to fight with getting our new Turtle Beach Montego sound card to properly pull in sound from the SPDIF input. I can't believe: a) How incredibly crappy the drivers are and the associated software b) How stupid some of the UI is for configuring it c) How there's no Tech Support phone number! All you can do is fax something in! d) Arguing with my wife about what I'm typing and listening to her ask questions about what I'm doing, and who you are, and why I don't want to talk to her, and so on and so forth ad nauseam!!!! ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                    L Offline
                    L Offline
                    led mike
                    wrote on last edited by
                    #16

                    Apparently my life is Paradise! :-D

                    "Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?"
                    Colin Angus Mackay in the C# forum

                    led mike

                    1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      Ok, make that two :beer:s! Jeremy Falcon

                      J Offline
                      J Offline
                      Jim Crafton
                      wrote on last edited by
                      #17

                      Yeah you drink one for me - at the rate she's nagging me right now, there's no beer on earth that will be strong enough - I'm looking for straight shots of Everclear! :) ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                      L J 2 Replies Last reply
                      0
                      • J Jim Crafton

                        Oh. My. God. (rubs hands together in anticipation of a good rant) Gather round children...

                        2ASoft wrote:

                        thinking of

                        2ASoft wrote:

                        just to try development under it

                        2ASoft wrote:

                        using C++

                        And that's where you want to stop. Now. For the childrens sake. As for BSD, Linux, Solaris, et al, they pretty much all involve large amounts of pain*. Actually, large amounts of frustration, annoyance, rage, cursing, and just general hair pulling. Unbuntu is a nice distro in terms of ease of installation. And it's dead simple to add various software packages, especially dev packages. Why, might you ask? Two reasons: GCC and X!

                        2ASoft wrote:

                        compilers

                        Compilers? As in plural? Surely you jest, my good friend?! Surely you fail to see the light, the one true way, the path to both Freedom and Salvation: And that is the glory of the *nix toolset, GCC, also known as one of the slowest C++ compilers on the face of the earth! But hey it give you lots of mysterios warnings! And it's compliant (sort-of)! Seriously, GCC is pretty much it, and due to the political landscape of linux, as well as stellar incompetence on the part of older compiler vendors like Sun and HP (charging $5,000 for a dev toolchain on solaris is friggin ridiculous, considering it wasn't even very good either), means that any other competition has long given up on the platform. So GCC is where it's at, for better or worse. When using GCC, especially for C++, and *especially* if you include the STL, and doubly so if you make use of your own template classes, be prepared to twiddle your thumbs. I'm assuming your code base will consist of more than one file, and more than a 1000 LOC. If so, be prepared to either become a phenomenal sketch artist, or get really good at Solitaire. If your looking for a good IDE, just give up now. Oh, but Jim, that's just your own personal bitterness and cynicism showing, surely it can't be that bad, can it? Yes it can. Without fail, every single IDE I have tried under linux has sucked, to some degree or another. Think VS is annoying or sucky? Be prepared for snail blowing suckage at *least* several orders of a magnitude greater than anything you could possibly imagine. Broken build systems (hey KDevelop - can you hear me?) or two diffe

                        R Offline
                        R Offline
                        Rocky Moore
                        wrote on last edited by
                        #18

                        Got my 5! Boy, you make a person think the $12K for VSTS is a bargain at twice the price! Microsoft should hire to anti-promote Linux ;) Rocky <>< Latest Post: Visual Studio 2005 Standard, whats missing? Blog: www.RockyMoore.com/TheCoder/[^]

                        J 1 Reply Last reply
                        0
                        • R Rocky Moore

                          Got my 5! Boy, you make a person think the $12K for VSTS is a bargain at twice the price! Microsoft should hire to anti-promote Linux ;) Rocky <>< Latest Post: Visual Studio 2005 Standard, whats missing? Blog: www.RockyMoore.com/TheCoder/[^]

                          J Offline
                          J Offline
                          Jim Crafton
                          wrote on last edited by
                          #19

                          Actually the 12K is probably a rip off based on the complaints I've heard here. But that seems consistent with other Enterprise class software - absolutely ridiculous prices for frequently crappy/overrated (Rational Rose anyone?) software. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                          1 Reply Last reply
                          0
                          • J Jim Crafton

                            Yeah you drink one for me - at the rate she's nagging me right now, there's no beer on earth that will be strong enough - I'm looking for straight shots of Everclear! :) ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #20

                            Jim Crafton wrote:

                            ...there's no beer on earth that will be strong enough...

                            At the moment I'm drinking Southwark Stout 7.4% and in the past I have had beers in Champagne bottles with corks, quad something or other brewed that are > 12% alcohol. Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                            J 1 Reply Last reply
                            0
                            • A Anton Afanasyev

                              I hope this isnt that much of a programming question.... Anyways, I was just thinking of installing linux on one of my machines, you know, just to try development under it. I'll be using C++. Any suggestions for what flavor of linux and what compilers are better(best)? I DO realize I could google all this, but we have such a nice helpfull community here hehe :-D rara avis in terris

                              E Offline
                              E Offline
                              Ed Poore
                              wrote on last edited by
                              #21

                              If you don't want a bloated distro then try Gentoo[^], you'll have fun optimising it if you're into C++ :)


                              Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9

                              1 Reply Last reply
                              0
                              • A Anton Afanasyev

                                I hope this isnt that much of a programming question.... Anyways, I was just thinking of installing linux on one of my machines, you know, just to try development under it. I'll be using C++. Any suggestions for what flavor of linux and what compilers are better(best)? I DO realize I could google all this, but we have such a nice helpfull community here hehe :-D rara avis in terris

                                D Offline
                                D Offline
                                dazfuller
                                wrote on last edited by
                                #22

                                Personnaly I'd go with either Ubuntu/Kubuntu, Fedora or OpenSuse as a choice of distribution I'm currently using an old version of Ubuntu and have no problem with the drivers or performance infact most the time things work better than under the version of XP I have installed on the same machine. As far as compilers go you'll probably be better off sticking to GCC although Intel do a compiler for linux I'm just not sure on the details. As far as coding goes you could use something like KDevelop, or one of the GUI text editors like Kate/Kwrite which have some very nice features to support C++ development or you could venture into emacs/vi territory, I'd be wary of them though as they are fiddly to get to grips with. You could always have a look around at others as well as there are a number of development tools available.

                                1 Reply Last reply
                                0
                                • A Anton Afanasyev

                                  I hope this isnt that much of a programming question.... Anyways, I was just thinking of installing linux on one of my machines, you know, just to try development under it. I'll be using C++. Any suggestions for what flavor of linux and what compilers are better(best)? I DO realize I could google all this, but we have such a nice helpfull community here hehe :-D rara avis in terris

                                  L Offline
                                  L Offline
                                  Leif Terje Fonnes
                                  wrote on last edited by
                                  #23

                                  For linux development it think you should give http://www.ubuntu.com/ desktop a try. Combine it with http://www.eclipse.org/tools/ as a good Alternative the Visual Studio. But you have to have a fast machine to get a good feel for the gui stuff. -- leffen

                                  1 Reply Last reply
                                  0
                                  • A Anton Afanasyev

                                    I hope this isnt that much of a programming question.... Anyways, I was just thinking of installing linux on one of my machines, you know, just to try development under it. I'll be using C++. Any suggestions for what flavor of linux and what compilers are better(best)? I DO realize I could google all this, but we have such a nice helpfull community here hehe :-D rara avis in terris

                                    R Offline
                                    R Offline
                                    robasmith
                                    wrote on last edited by
                                    #24

                                    You have probably received more than enough info on the topic but I thought I would put my 2 cents in. -The KDE IDE can be problematic, but once you get your projects set up you are good to go. If you go with command line gcc, you will need to be very knowledgeable about makefiles. -For GUI development on *nix, I would go with Qt. If you have ever done any X Window/Motif programming, you will love Qt. The KDE was built with Qt as well as Google-Earth, as examples. -For game programming you are probably using OpenGL. Qt provides a few classes that you MUST use to draw in a OpenGL context. It seems a little restrictive at first but I have used it to draw maps for UPS. It takes some getting use to. Maybe they have improved it with Qt 4.0 (I'm using 3.5). -You can get the non-commercial version of Qt for free from Trolltech. Bonus: If you stay within the Qt framework and standard programming constructs, you should be able to port your game to Windows with minimum fuss (famous last words:~ ). Have fun!

                                    1 Reply Last reply
                                    0
                                    • N Nemanja Trifunovic

                                      2ASoft wrote:

                                      Any suggestions for what flavor of linux and what compilers are better(best)?

                                      If you insist on Linux (and I agree with Jeremy - it is not a real Unix), take a look at either some of Red Hat derivatives (like CentOS) or Novell/SUSE. For compilers, gcc is pretty much standard on Linux and is shipped with all distributions. If you are looking at a good IDE - forget it; if you have ever used Visual Studio, Linux IDEs will be nothing but frustration for you. Instead, just use some good editor. Speaking of editors, Unix programmers belong to one of two distinct groups: good people use vim[^] :rose: and villians use emacs[^] X| . Now, I am not going to tell you which one I prefer, cause I don't want to influence your decision ;) Good luck with Linux.


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

                                      F Offline
                                      F Offline
                                      feline_dracoform
                                      wrote on last edited by
                                      #25

                                      Nemanja Trifunovic wrote:

                                      Speaking of editors, Unix programmers belong to one of two distinct groups: good people use vim[^] :rose: and villians use emacs[^]

                                      really good people install a plugin for Visual Studio that makes it work like VIM ;) or just keep VIM in their send to menu in windows :-D

                                      zen is the art of being at one with the two'ness

                                      S 1 Reply Last reply
                                      0
                                      • J Jim Crafton

                                        Oh. My. God. (rubs hands together in anticipation of a good rant) Gather round children...

                                        2ASoft wrote:

                                        thinking of

                                        2ASoft wrote:

                                        just to try development under it

                                        2ASoft wrote:

                                        using C++

                                        And that's where you want to stop. Now. For the childrens sake. As for BSD, Linux, Solaris, et al, they pretty much all involve large amounts of pain*. Actually, large amounts of frustration, annoyance, rage, cursing, and just general hair pulling. Unbuntu is a nice distro in terms of ease of installation. And it's dead simple to add various software packages, especially dev packages. Why, might you ask? Two reasons: GCC and X!

                                        2ASoft wrote:

                                        compilers

                                        Compilers? As in plural? Surely you jest, my good friend?! Surely you fail to see the light, the one true way, the path to both Freedom and Salvation: And that is the glory of the *nix toolset, GCC, also known as one of the slowest C++ compilers on the face of the earth! But hey it give you lots of mysterios warnings! And it's compliant (sort-of)! Seriously, GCC is pretty much it, and due to the political landscape of linux, as well as stellar incompetence on the part of older compiler vendors like Sun and HP (charging $5,000 for a dev toolchain on solaris is friggin ridiculous, considering it wasn't even very good either), means that any other competition has long given up on the platform. So GCC is where it's at, for better or worse. When using GCC, especially for C++, and *especially* if you include the STL, and doubly so if you make use of your own template classes, be prepared to twiddle your thumbs. I'm assuming your code base will consist of more than one file, and more than a 1000 LOC. If so, be prepared to either become a phenomenal sketch artist, or get really good at Solitaire. If your looking for a good IDE, just give up now. Oh, but Jim, that's just your own personal bitterness and cynicism showing, surely it can't be that bad, can it? Yes it can. Without fail, every single IDE I have tried under linux has sucked, to some degree or another. Think VS is annoying or sucky? Be prepared for snail blowing suckage at *least* several orders of a magnitude greater than anything you could possibly imagine. Broken build systems (hey KDevelop - can you hear me?) or two diffe

                                        F Offline
                                        F Offline
                                        feline_dracoform
                                        wrote on last edited by
                                        #26

                                        i SO want to start with "you youngsters have it easy", but you speak of X, which i have heard about, and have avoided ever going anywhere near, so i will let you off :) still, in lots of respect you have it EASY! i get to do lots of development on SCO UNIX now, what were you saying about compilers and debuggers? our code base is pure C, with the occasional C++ program thrown in if you are good. debugging is a well known game. you have two options: a) wait for the program to crash, and hope the call stack makes everything clear. remember that once it has crashed ALL you will get is a call stack, maybe. you cannot get any information out of any of the variables, or if you can no one will tell you how. you do get the addresses, sometimes, which helps to spot NULL pointers being passed around, which is often something. of course, this assumes you are lucky. the number of times i have studied a call stack that tells me "the program core dumped while core dumping", so i have a call stack of a call stack (or something like that) which means zero information. b) having eliminated A most of the time you have fprintf(stderr, "..."); there is actually some good news here, you get to use VIM :-D now at first you might hate VIM, but when you discover the power of the "increment this number by one" function combined with macros then you are in debug heaven, relatively speaking. chain together __FILE__, __LINE__, and an incrementing number into a VIM macro and i can insert 50 debug statements into a single function in a couple of minutes! debugging the way god intended us to, or at least the department head. now i did mention C++, so it is time to consider this joy. i LIKE the idea of moving to C++, i get access to the STL, to collection classes, to a STRING class!!! no more manually tracking the size of my char * (massive sigh of heavenly relief) except that this is SCO. it comes with the STL, i am assured of this by people who do not have to support our old code base. it does NOT, it comes with about 7 classes from the STL, that are nothing like STL classes, have different interfaces, and do not do any of what i want. but they do have overlapping names, so you cannot easily call the STL classes instead. so i looked into BOOST (i was told i was not allowed to use it *aaaggghhhh*) and i found, to my joy, some proper STL classes hidden somewhere in a strange directory! except that the compiler we get for C++ cannot compile the templates *sob*. we did finally get the Qt framework installed on this box, along

                                        J 1 Reply Last reply
                                        0
                                        • F feline_dracoform

                                          i SO want to start with "you youngsters have it easy", but you speak of X, which i have heard about, and have avoided ever going anywhere near, so i will let you off :) still, in lots of respect you have it EASY! i get to do lots of development on SCO UNIX now, what were you saying about compilers and debuggers? our code base is pure C, with the occasional C++ program thrown in if you are good. debugging is a well known game. you have two options: a) wait for the program to crash, and hope the call stack makes everything clear. remember that once it has crashed ALL you will get is a call stack, maybe. you cannot get any information out of any of the variables, or if you can no one will tell you how. you do get the addresses, sometimes, which helps to spot NULL pointers being passed around, which is often something. of course, this assumes you are lucky. the number of times i have studied a call stack that tells me "the program core dumped while core dumping", so i have a call stack of a call stack (or something like that) which means zero information. b) having eliminated A most of the time you have fprintf(stderr, "..."); there is actually some good news here, you get to use VIM :-D now at first you might hate VIM, but when you discover the power of the "increment this number by one" function combined with macros then you are in debug heaven, relatively speaking. chain together __FILE__, __LINE__, and an incrementing number into a VIM macro and i can insert 50 debug statements into a single function in a couple of minutes! debugging the way god intended us to, or at least the department head. now i did mention C++, so it is time to consider this joy. i LIKE the idea of moving to C++, i get access to the STL, to collection classes, to a STRING class!!! no more manually tracking the size of my char * (massive sigh of heavenly relief) except that this is SCO. it comes with the STL, i am assured of this by people who do not have to support our old code base. it does NOT, it comes with about 7 classes from the STL, that are nothing like STL classes, have different interfaces, and do not do any of what i want. but they do have overlapping names, so you cannot easily call the STL classes instead. so i looked into BOOST (i was told i was not allowed to use it *aaaggghhhh*) and i found, to my joy, some proper STL classes hidden somewhere in a strange directory! except that the compiler we get for C++ cannot compile the templates *sob*. we did finally get the Qt framework installed on this box, along

                                          J Offline
                                          J Offline
                                          Jim Crafton
                                          wrote on last edited by
                                          #27

                                          I feel for you - damn developing on SCO? Ickkkkk! But, I thought GCC ran on SCO? I know it does on the newer versions of SCO, maybe you guys have an older version of the OS? So if you're not using GCC, are you using some evil defunct compiler? Nasty! ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

                                          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