avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Problems compiling avr-gcc on linux


From: Peter Jansen
Subject: Re: [avr-gcc-list] Problems compiling avr-gcc on linux
Date: Fri, 09 Nov 2001 09:51:32 +1100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

I tried to make a new linux release on my RedHat 7.1 box.

First I configured, compiled and installed binutils:
./configure --target=avr --exec-prefix=/opt/avrgcc --prefix=/opt/avrgcc
--disable-nls
make
make install
-> everything OK

Appended /opt/avrgcc/bin to the PATH

Then I configured gcc with:
 ./configure --target=avr --exec-prefix=/opt/avrgcc --prefix=/opt/avrgcc
--disable-nls --enable-language=c

After compiling a lot of stuff I get this error:

checking whether the C compiler (/tmp/gcc-3.0.1/gcc/xgcc
-B/tmp/gcc-3.0.1/gcc/ -B/opt/avrgcc/avr/bin/ -B/opt/avrgcc/avr/lib/
-isystem /opt/avrgcc/avr/include -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make: *** [configure-target-libiberty] Fehler 1

I have seen the same problems, I have not figured out what is causing it, but doing a 'make' (which gives the error) then a 'make install' seems to work out ok.

Its something to do with missing library header files.

You need the newlib header files to build the libraries that build with the compiler.

Regards,

--
Peter Jansen
Smart Container
Level 1, NIC Building
Eveleigh
NSW       1430
AUSTRALIA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]