Help - Search - Members - Calendar
Full Version: Programming In Linux
Linuxhelp > Support > Programming in Linux
Corey
I don't call myself a programmer, however, I do know bits and pieces of a few languages. One thing that I have found difficult is to find information on the internet about how to program for the linux operating system. I know how to basically create source files, and compiling one or two files into an executable, but what are the steps of creating a full fledge linux project (GPL or other similar license)?

I would like visitors to post some helpful resources for programming in linux, it can be for any language. I would like to create a resource of such for visitors who are interested in programming but do not know where to start.
hughesjr
Corey,

Do you want to leave it in this topic ... or create a programing section?

I am not a programmer either ... I know some perl, Borne Shell and C shell ... and some very limited C/C++ and java.
Corey
Let's see if there's any intrest, if we have a few programming guru's hanging around , maybe we can look at it. But there's no point to have a programing forum with questions if there is no one here to answer them smile.gif
chrisw
Hey yo,
Ive been looking at the same thing. Yet unable to find any info
on programming in linux using c.

I help out by finding out information.
What do you mean by a full fledge project?

-chrisw
mno
Well... you have the compiler already installed for you with your Linux distribution. That compiler (usually gcc) can handle C/C++ compilation. Writing source code can be done in vi (or any other text editor you have, vi's very good though and not difficult at all - the basic commands are very simple). Once you have a simple C/C++ programm written, execute gcc --help and you'll get a list of commands. I'm sure there's one for building, compiling, etc. I don't know about packaging (probably not, you'll need some package manager like RPM on RedHat) but that can be done with the package manager you most likely have (RedHat has RPM, read it's help and man pages for more info).

Hope this helps a bit,
Max
Hemant
Hello All..
I am not a great programmer but you can call me a budding one...i am basically a c/c++ programmer (A bit of python,PHP and java also...but i don't count on that..)..here i am giving few links that are really helpful for Programming in Linux:..
1.C links...
http://www.cs.cf.ac.uk/Dave/C/CE.html (excellent book on c)
http://www.hotscripts.com/Detailed/11714.html (contains...assorted articles on c/c++/SDL).
http://www.strath.ac.uk/IT/Docs/Ccourse/ (another good book on c)
2.CPP links..
http://freebooks.by.ru/CandCpp.html
http://www.intap.net/%7Edrw/cpp/index.htm
http://www.functionx.com/cpp/index.htm(A very good book on c++)
http://www.intelinfo.com/newly_researched_...ining/C++.html(contains links to several other resources on c/c++)
http://www.saskschools.ca/~ehs/HeiseIntra/C.html
http://www.codecuts.com/mainpage.asp?WebPageID=315(Best book on c++)
3.Writing device drivers(yeah i have tried writing device drivers also..but due to lack of time..i had to quit and complexity also...)
http://www.xml.com/ldd/chapter/book/
4.though i have never tried GTK but i have done a lot of work on QT and i must admit that if you know cpp then QT documentation is best to start with..right now i am doing a project on Heat Exchangers(Chemical engg stuff..) and i am writing a software for better Heat Exchanger network analysis..using QT and i find QT very much capable of handling complex Work...
5.Game programming...on Linux..(Using SDL library)
http://www.overcode.net/~overcode/writing/plg/
hope it will help....
Hemant
If you are looking for someone who can write small tutorials..on every available programming language..on GNU/Linux...then i can take up job for c/c++(QT,SDL includinig..),PHP,Mysql,Makefile(i mean how to create makefiles...and use them....).
hughesjr
One question that comes up a lot about linux is about a program (similar to Microsoft Visual Studio) that can be used as an evironment to write programs is C, C++, or other languages.

gethemant, do you just use a console editor (like vi or emacs), a gui editor (like gedit or Kate), or do you use something else.

I know there is a tool called codeforge (That costs $300.00)...
Hemant
Hi...
First..what i use...
i use emacs and only emacs....for programming,html and even
for listening to music....
But as we know...many of beginners don't realise power of emacs..and as they migrate from Windows platforms..they try to look for IDE's(integrated development environments)...

If you really want to use something like Visual studio..then i guess you should use Kdevelop.

But then it is not pretty cool again....for using kdevelop checkout this link...
http://www.functionx.com/cpp/index.htm
the tutorial contains info about how to do cpp programming on almost every platform...

But still like many programmers...i firmly believe emacs is a complete programming environment...
you can learn emacs...
Hemant
Hi...
First..what i use...
i use emacs and only emacs....for programming,html and even
for listening to music....
But as we know...many of beginners don't realise power of emacs..and as they migrate from Windows platforms..they try to look for IDE's(integrated development environments)...

If you really want to use something like Visual studio..then i guess you should use Kdevelop.

But then it is not pretty cool again....for using kdevelop checkout this link...
http://www.functionx.com/cpp/index.htm
the tutorial contains info about how to do cpp programming on almost every platform...

But still like many programmers...i firmly believe emacs is a complete programming environment...
you can learn emacs...using book:..
Sams teach yourself emacs in 24 hours..
i don't have link to that book but i can post it..if someone wants...
another IDE...is i guess Ajunta(a friend who is standing by me when i was writting reply to this ,suggested)..
and again i think there is open version of Borland compiler(kylix)that is actually an IDE..check out this link...
http://www.borland.com/products/downloads/...load_kylix.html
Corey
For me, i'm more comfortable with an IDE< because I started programing in Visual Studio. In linux, i have used KDevelop and Anjuta. I have heard from many sources, that emacs and vi are excellent programming tools.
Hemant
I have posted a message on tips and tricks forum about how to use emacs...checkout that....
emacs is no longer a console editor...thugh..vi it still a console editor..but emacs..is not....
Joey
I've created a seperate section for this. If it doesn't generate any posts/traffic we can trash it. If you build it...they will come smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.