Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: compiling, What do I need?< Next Oldest | Next Newest >
motokitn Offline





Group: Members
Posts: 14
Joined: Oct. 2005
Posted: Dec. 04 2006,04:30 QUOTE

Just wondering what I need to install in order to compile one of my favorite programs from source. Haven't been able to find info in the wiki.
Thanks in advance!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 04 2006,15:53 QUOTE

The gcc-with-libs mydsl extension is pretty much essential for any of the "configure, make, make install" types of source packages. This extension provides many of the standard headers needed to build linux apps.

The gnu-utils mydsl package may be necessary in some situations where the Busybox tools are lacking in command options.

Anything else you may need depends entirely on the program you intend to compile. The source package should include a README or INSTALL file which should tell you what headers are needed to compile the program.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
u2musicmike Offline





Group: Members
Posts: 149
Joined: April 2006
Posted: Dec. 04 2006,16:43 QUOTE

DSL comes with the tcc complier.  It is a tiny complier so it has some limitations.  This post has some good information:

http://damnsmalllinux.org/cgi-bin....t=15703
Back to top
Profile PM 
RyuOniX Offline





Group: Members
Posts: 7
Joined: Aug. 2006
Posted: Dec. 09 2006,01:33 QUOTE

I have downloaded and installed the gcc1-with-libs dsl extension and I am having trouble compiling with it. I tryed a very simple "Hello World" program to test it and it seems that it doesn't know which directory the header files are in. Of course, it doesn't really help for me to #include a header file with its specific directory because it can't find the header files included in the header files...
Back to top
Profile PM 
RyuOniX Offline





Group: Members
Posts: 7
Joined: Aug. 2006
Posted: Dec. 09 2006,01:43 QUOTE

By the way... I have tried #include <iostream> and #include </usr/include/c++/3.3/iostream>
Back to top
Profile PM 
9 replies since Dec. 04 2006,04:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: compiling

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code