LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 03-07-2005, 09:21 PM   #1
LeadMagnet
LQ Newbie
 
Registered: Mar 2005
Location: USA
Distribution: DSL .93
Posts: 3

Rep: Reputation: 0
C compiler install & configuration


I have DSL.93 installed and running in a vmware machine. It is awesome and will install it direct on it's on system someday - if I can get it working right, and figure out how to use it.

Problem #1 - I know nothing about Linux/Unix ,file editing, or programing.

Problem #2 - I need to install vmware tools on the system for shares between DSL and the host OS.

To install vmware tools I need the "make" command to work, but it is not installed.

I am assuming it is part of tcc or gcc. The DSL page recommends tcc. So I have downloaded tcc.9.22 - un-tared it using "tar zxf /root/tcc-0.9.22.tar.gz"

I am loged on as root and have tried it after typing "su" but I get the same errors each way.

root@box:~/tcc-0.9.22# su
root@box:~/tcc-0.9.22# ./configure
big/little test failed
Binary directory /usr/local/bin
Library directory /usr/local/lib
Include directory /usr/local/include
Manual directory /usr/local/man
Doc directory /usr/local/share/doc/tcc
Source path /root/tcc-0.9.22
C compiler gcc
make make
CPU x86
Big Endian no
gprof enabled no
Creating config.mak and config.h


in the formss someone sugested adding "/usr" to the path for the user and moving it into the home directory of the userr. I tried that in "/root" but still had the same problem.

all those directories do exsist.

I am trying to download a pre-compiled version of gcc right noww - but it is 130MB, and kind of defeats the purpose of DamnSmallLinux

Last edited by LeadMagnet; 03-08-2005 at 12:36 PM.
 
Old 03-07-2005, 09:58 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
You're trying to compile a compiler. If you can't compile anything else, compiling this won't work either.

tcc is already included in DSL. How it works i don't know, since I do all my compiling on a different system. It may require setting the CC variable to tcc and still needing to add make. (notice the configure script lists gcc and make, neither of which is in DSL)

Another option is to download the gcc1.dsl extension and use that instead.
http://www.ibiblio.org/pub/Linux/dis.../mydsl/system/
 
Old 03-08-2005, 12:30 PM   #3
LeadMagnet
LQ Newbie
 
Registered: Mar 2005
Location: USA
Distribution: DSL .93
Posts: 3

Original Poster
Rep: Reputation: 0
Usnig MyDSL is was able to get gcc installed but now it wants me to set the CC variable to gcc,

What are they taling about? and how do I do it?
 
Old 03-08-2005, 01:41 PM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Probably means the CC variable in the configure script.
Open the script and you should see a line something like this:
CC=something

make sure it reads "CC=gcc"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 04:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
what has tcc (tcng) has become? eantoranz Linux - Networking 2 11-10-2005 01:05 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 06:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration