Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi everybody,
I recently trying to install GNU binutils on my Xubuntu machine. I need them for programming avr microcontrollers. Anyway, I downloaded file binutils-2.15.tar.bz2, extracted it with "tar jxvf" command, and I typed following commands:
cd binutils-2.15/
mkdir obj-avr
cd obj-avr
../configure --target=avr --prefix=/usr/local/avr --disable-nls,
after the last command (../configure etc etc) I took the following message and it stops
loading cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... avr-unknown-none
checking build system type... i686-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
target-libiberty
(Any other directories should still work fine.)
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
My personal idea is that it is looking for the file in the wrong place. Can anyone tell me what is wrong and what is the solution. Thanks in advance and sorry if it is not the right place to post such a topic.
You don't seem to have gcc installed. Also, you'd need the build-essential package to compile from source.
But the main thing is that binutils are probably installed in your system already, as it's one of the core packages of all linux distros.
I did not do anything to install gcc, my xubuntu is recently installed and I guess I have gcc 4.1. I can see it under /usr/bin. Are you sure about it?
And what do you mean with "you'd need the build-essential package to compile from source". Sorry if I am asking a very basic question. Being a starter sucks!!
thanks for reply however I could not use apt-get it gives following result for build-essential:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build-essential
Another proposed solution I have seen was using
sudo apt-get install build-essential
and it gave following result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libc6-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libc6-dev has no installation candidate
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.