Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-06-2003, 09:44 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
compiling programs on zipslack

hallo to all tech gurus,

i have latest zipslack and trying to compile some programs with make.

first i needed to install make package, then i've tried to install gcc pacgage,
but i still get error after make command (makefile comes with the program)

cc: bad command or file name (something like that

can somebody help, where i can find package with such "cc"? it's perhaps c
compiler, but i don't know. gcc package does not contain "cc"

thanks in advance,
Old 11-06-2003, 10:42 AM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
I think 'cc' is a link to gcc. Make it : 'ln -s [link2be made] [file2be linked to]'.
Old 11-06-2003, 11:09 AM   #3
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
Usually there is a "configure" before a make - and the configure will find the "gcc". If there really isn't a "configure" to run ... try this way first:

% CC=gcc make

This will set the environment variable CC, which most makefiles will use, and if this works, then you wouldn't have modified your "out of box" environment (which is something I try to avoid as much as possible).
Old 11-06-2003, 03:35 PM   #4
LQ Newbie
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
thanks guys for help. have tried both, but had no luck. it seems like it tries to compile something, but it ends with many screens of errors :-( the distribution is working, because i know that many people use it.

i will have to try install full linux, but must obtain bigger drive :-(
Old 11-06-2003, 03:39 PM   #5
LQ Newbie
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
i can maybe try to download 30mb of gcc (i got the one from slackware site about only 3mb). will be grateful for any ideas.


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
Compiling C++ programs rchillal Linux - Newbie 13 02-08-2005 06:27 AM
[ZipSlack 10.0] Installing KDE on ZipSlack - HELP!!! Rookie One Slackware - Installation 3 12-03-2004 02:39 PM
Compiling kernel 2.4 on ZipSlack ezust Slackware 7 09-01-2004 05:59 AM
Slack 8.1 Zipslack 9.1 compiling 2.6.0 o0sketchdude0o Slackware 4 01-07-2004 04:32 PM
Kernel compiling - zipslack tangoman Slackware 1 12-09-2003 06:37 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:21 AM.

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