Linux for development
-
Try Unix, particulary FreeBSD, go with KDevelop for the IDE and here's how to install them (unfinished article of mine for C# dev on Unix)... Clickety[^] And remember, only sissies choose Linux over Unix (just kidding). So, you don't wanna fall into that crowd now do ya? ;P Serioulsy though, the main things you'll get from Linux is driver support and bloated distros. Jeremy Falcon
*happy Grin* thanks. See what i meant about the community? reply withing 5 minutes :p anyway, by all the screenshots it looks like a *zomg* textbased OS....and the last few (KDM) are Windows-ified. So is it windowsed or not? Should be I guess but im asking anyway whilst its downloading. Also, another question then...im assuming uve done some(at least) programming under the *nix platforms, so tell me this: for, say, creating a simple window, would the code be at least similar if not equivalent? sorry if that sounds stupid, ive jsut never done anything with *nix'es....ever. so eyah. rara avis in terris
-
*happy Grin* thanks. See what i meant about the community? reply withing 5 minutes :p anyway, by all the screenshots it looks like a *zomg* textbased OS....and the last few (KDM) are Windows-ified. So is it windowsed or not? Should be I guess but im asking anyway whilst its downloading. Also, another question then...im assuming uve done some(at least) programming under the *nix platforms, so tell me this: for, say, creating a simple window, would the code be at least similar if not equivalent? sorry if that sounds stupid, ive jsut never done anything with *nix'es....ever. so eyah. rara avis in terris
2ASoft wrote:
So is it windowsed or not?
Both. Think of it like, first you have to install DOS. Then after DOS is installed you have to install Windows.
2ASoft wrote:
creating a simple window, would the code be at least similar if not equivalent?
It depends on the toolkit you're using. If it's Qt, then it's less code than MFC actually. Here's an example... clickety[^].
2ASoft wrote:
sorry if that sounds stupid
It doesn't. I wondered the same stuff as well. Anyway, if you have questions about C++ programming under Unix, I'll be happy to answer a few more in the Visual C++ programming forum. Jeremy Falcon
-
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
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.
-
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.
Nemanja Trifunovic wrote:
good people use vim[^] and villians use emacs[^].
:-D Jeremy Falcon
-
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.
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
-
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
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.
-
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
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 -
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
-
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 -
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
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
-
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
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
-
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
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!
-
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!
Ok, make that two :beer:s! Jeremy Falcon
-
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!
-
Ok, make that two :beer:s! Jeremy Falcon
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!
-
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
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/[^]
-
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/[^]
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!
-
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!
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
-
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
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
-
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
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.