[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with building powerpc-rtems4.11-gcc
- Date: Thu, 09 Sep 2010 16:57:35 +0200
- From: ralf.corsepius at rtems.org (Ralf Corsepius)
- Subject: Problem with building powerpc-rtems4.11-gcc
On 09/09/2010 04:16 PM, Steven Grunza wrote:
>> -----Original Message-----
>> From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
>> Sent: Thursday, September 09, 2010 10:03 AM
>> To: Steven Grunza
>> Cc: rtems-users at rtems.org
>> Subject: Re: Problem with building powerpc-rtems4.11-gcc
>> On 09/09/2010 08:55 AM, Steven Grunza wrote:
>>> I'm currently changing build machines from a single CPU CentOS4
>> box to a
>>> Core2Quad CentOS5 box. Part of the change is the new machine has
>>> 4.1.2 instead of 3.4.6. The new machine is also running 64-bit
>> (a first
>>> for me) instead of 32-bit.
>>> Binutils 2.20.1 built and installed ok but gcc 4.5.1 is giving me
>>> strange error; it looks like the native compiler can't compile
>>> source to gcc-4.5.1:
>> What is your PATH when building gcc? I have a hunch that
>> you forgot to put the RTEMS cross-assembler at the head
>> of your PATH. It is likely using the native as which won't
>> work for powerpc code. :)
> Actually, it should be the native GCC since I'm building the
Why don't you use the prebuilt rpms?
> I'm not sure why having the . in my path caused a problem
Rest assured, it does.
>>> If this didn't build ok on the CentOS4-32bit machine I would just
>>> user error but I've run out of things to check. Any suggestions
>>> what's wrong or where to look?
Use the prebuilt rpms, or switch to a newer OS.
Both CentOS4 and CentOS5 are too old to make good development platforms.