Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im running Xandros,default system on a eeepc 701,seems a few versions of gcc are on it including the base gcc-3.3.I need to put cc compiler into $PATH,i can get into mc to change file but what exactly do i change?Currently is saysbashrc.profile)
set path so it includes users private bin if it exists
if [-d ~/bin ] ;then
PATH=~/bin:"${PATH}"
fi
------------What do i change and to what?-------------------
look im a bit baffeled:
if i do "whereis gcc"-------------i get /usr/lib/gcc
if i do apt-cache search gcc----i get:
libgcc 1---GCC support lib
gcc-4.1 base
gcc-3.4 base
cpp
gcc-3.3 base
gcj-4.1 base
cpp-4.1 base
libgcj 7-0
dpkg-dev
Oh hang on, it's that Asus customised Xandros install that they put on the EeePC isn't it. The one about which people tend to complain when they assume it's the sort of install you get if you had installed Xandros/openSuSE/Fedora or whatever from a DVD buy then find they can't do what they want to do because the Linux build that the EeePC ships with is designed on the assumption that you use what's on there, not that you will want to start compiling your own software on it. You might well not even have a build-essentials package available to install.
I forget to say before that in my experience not only is cc in the same directory as gcc but it's in the same package. So if gcc is installed so is cc. Also they're both in /usr/bin which is in $PATH by default. That may not be the case with Xandros though. Do you actually have gcc installed? What does
Code:
$ which gcc
say? If it doesn't say anything then you probably don't have gcc installed.
If I were you I'd put 'eeepc forum' in to Google and look for info on how to do what you're trying to do. That or replace the Linux install entirely with Aurora/Eeebuntu.
yeah i guess i dont want wireless driver uncompatability with any of the other ubuntu derivitives,xandros does auto configure wireless connectivity also.
using sudo synaptic package manager says gcc3.3.base is installed but whenever i try to unpack ,it does untar ok but just wont ./configure anything coming back put cc compiler into $PATH.
bashrc.profile is the right file to change?is it?For to do this correctly?
using sudo synaptic package manager says gcc3.3.base is installed but whenever i try to unpack ,it does untar ok but just wont ./configure
Erm... What are you unpacking and why are you trying to use ./configure on it?
Packages install pre-compiled binaries. That's sort of the point of them. E.g. you install the MozillaFirefox package and you have Firefox installed and ready to use, there's nothing to configure and build.
Perhaps it would help if you post the commands you are running and the output of them.
Quote:
Originally Posted by Davethesnake
anything coming back put cc compiler into $PATH.
bashrc.profile is the right file to change?is it?For to do this correctly?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.