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: (3) </ [1] 2 3 >/

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

reply to topic new topic new poll
Topic: c & c++ compiler< Next Oldest | Next Newest >
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Mar. 07 2005,05:08 QUOTE

I just installed dsl to my hardrive and have minimal linux experience. I have been compiling some programs on the linux server at school but have not been able to compile any of my programs in dsl. I have tried using mydsl to install gnu-utils.dsl and gcc1.dsl, but I am still unable to compile. I was wondering if someone could tell me if I was doing this wrong and what I have to do. Thanks in advance.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 07 2005,16:47 QUOTE

probably has more to do with lotsa missing stuff rather than with you doing anything wrong.  The most effective way to  fix a compiling problem is to see what errors you receive...without that it's practically impossible to help.

Unless you're compiling the simplest of programs you're going to need more than gcc and gnu utils....you may need X headers, various library files that don't come with DSL....lots of possible issues all depending on what program you're compiling.  DSL is not a development system, so any headers needed to compile a particular program will need to be found and installed first.


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





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Mar. 07 2005,17:37 QUOTE

I apologize, I didnt even give anyone the error it gives me.

bash: gcc: command not found

Thanks for responding mikshaw. Sounds like I may have some trouble than. It was just a simple program I was trying to compile. I was just thinking that I could write and compile my programs with this instead of using the linux instructional server from school, but it is not essential. So far I really like dsl but without having any experience it tends to be frustrating.
Back to top
Profile PM 
Fordi Offline





Group: Members
Posts: 90
Joined: April 2004
Posted: Mar. 11 2005,20:37 QUOTE

If you're installed to HD, you can use apt

right-click->Apps->Tools->Enable Apt

edit sources.list to get the "Testing" sources

hit up a terminal
apt-get update
apt-get install gcc g++ make
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Mar. 12 2005,04:24 QUOTE

I am sorry this is probably a stupid question but how do I edit sources.list to get the "Testing" sources?
Back to top
Profile PM 
10 replies since Mar. 07 2005,05:08 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: c & c++ compiler

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