That was definitely helpful. After installing the
compat-gcc-32 RPM, I
set CC=gcc32 and was able to build a 2.95 Arm compiler.
Thanks much!
-----Original Message-----
From: Brian Dessent [mailto:brian dessent.net]
Sent: Thursday, October 19, 2006 12:05 PM
To: Heilpern, Mark
Cc: crossgcc sourceware.org
Subject: Re: Problems using crosstool-0.42 with Arm
"Heilpern, Mark" wrote:
> My development host is an x86 running Fedora Core 5;
the host
compiler's -v output displays: gcc version 4.1.1 20060525
(Red Hat
4.1.1-1).
> ...
>
/home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gc
c-2.95.3-g
> libc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286:
warning: assignment
> discards qualifiers from pointer target type
>
/home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gc
c-2.95.3-g
> libc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error:
invalid lvalue
> in assignment
Compiling such an ancient gcc (2.95) with a very new gcc
(4.1.1) is
probably not going to work. Those archaic gccs were much
more
permissive about accepting invalid code, and the current
versions won't
let you get away with it. So, you'll probably need to use
an
intermediate version that is somewhere in between. Fedora
has such a
compiler already packaged for you (e.g. compat-gcc-32) so
just install
that and set your environment appropriately to use it
instead of 4.1.1.
Brian
_______________________________________________________
NOTE: The information in this message is intended for the
personal and confidential use
of the designated recipient(s) named above. To the extent
the recipient(s) is/are bound
by a non-disclosure agreement, or other agreement that
contains an obligation of
confidentiality, with AuthenTec, then this message and/or
any attachments shall be
considered confidential information and subject to the
confidentiality terms of that
agreement. If the reader of this message is not the
intended recipient named above, you
are notified that you have received this document in error,
and any review, dissemination,
distribution or copying of this message is strictly
prohibited. If you have received this
document in error, please delete the original message and
notify the sender immediately.
Thank you.
AuthenTec, Inc. http://www.authentec.com
--
For unsubscribe information see http://sourcewar
e.org/lists.html#faq
|