[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] Probs building avr-gcc
From: |
Eric Weddington |
Subject: |
RE: [avr-libc-dev] Probs building avr-gcc |
Date: |
Wed, 29 Aug 2007 17:27:12 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Rich Teer
> Sent: Wednesday, August 29, 2007 4:10 PM
> To: address@hidden
> Subject: [avr-libc-dev] Probs building avr-gcc
>
> Hi all,
>
> I'm trying to build the AVRlibc tool set, as documented at
> http://www.nongnu.org/avr-libc/user-manual/install_tools.html.
>
> I've successfully installed the AVR version of bintools 2.18,
> and I'm now trying to compile gcc 4.2.1. I do the configure
> bit, but when running gmake, I get the following error after
> a while:
>
> gmake[2]: Entering directory
> `/home/rich/gcc-4.2.1/host-i386-pc-solaris2.11/gcc'
> gmake[2]: *** No rule to make target `all'. Stop.
> gmake[2]: Leaving directory
> `/home/rich/gcc-4.2.1/host-i386-pc-solaris2.11/gcc'
> gmake[1]: *** [all-gcc] Error 2
> gmake[1]: Leaving directory `/home/rich/gcc-4.2.1'
> gmake: *** [all] Error 2
>
> I'm trying to build this on Solaris (actually build 70 of Nevada)
> on x86. The AVR binutils are installed in /usr/local/avr/bin,
> and I've added this to the end of my $PATH. Does anyone have
> any ideas?
>
Wow! You're one of the few pioneers to build and use the AVR toolchain on
Solaris!
Considering that binutils 2.18 just came out *yesterday*, and the other
distro maintainers (myself and Joerg Wunsch) haven't had a chance to try it
out yet, you would be going into new territory. A slightly safer bet is to
use binutils 2.17 with gcc 4.2.1. That combination has had a bit more
traffic.
The most common build error is configuring gcc in its own source directory.
But you're following the directions in the avr-libc user manual, so I assume
that you have avoided doing this? Was your configuration successful?
Can you attach the output from configure and from make so we can have more
context?
Thanks
Eric Weddington