Next cygwin/powerpc Problem (Was RE: Getting reacquainted -- Cygw in/powerpc-rtems Build Error)

Mills, John M. Mills.J at ems-t.com
Wed Jan 5 16:16:33 UTC 2005


Ralf -

Thanks for your note.

I chose most of my configuration switches to imitate the build settings for
the Linux tools.

-----Original Message-----
From: Ralf Corsepius [mailto:ralf.corsepius at rtems.org]
Sent: Wednesday, January 05, 2005 9:21 AM
To: RTEMS Users
Subject: Re: Next cygwin/powerpc Problem (Was RE: Getting reacquainted
-- Cygw in/powerpc-rtems Build Error)


On Tue, 2005-01-04 at 13:03 -0500, Mills, John M. wrote:

>  4. For the RTEMS build I specified '--prefix=<my_toolchain_prefix>'
(which
> _was_ probably
>     the real key).

RC- ?? I fail to understand.
RC- The prefix can be chosen to almost arbitrary values.

I misunderstood this and blamed it for my build problems. Too bad - I would
rather know what had gone wrong.

> NEXT PROBLEM:
> All PPC BSP targets now build and install successfully _except_ MVMV2307,
> mcp750, and mtx603e. These targets all fail to build 'tests/tmtests/tm27',
> but they all build OK if this subdirectory is removed from the build list!
> 
> The problems all seem to arise from one included file: <bsp.h>, giving
> errors such as: 
 [...]
> >>>> QUESTION: Does this ring a bell for anyone?
RC- Bugs in these BSPs - Probably already fixed in RTEMS-CVS.
OK - I'll check.

> MD-    The weirdest problem I've had is that gcc builds ok but takes 3
> hours!
RC- I guess you are referring to powerpc-rtems-gcc. Yes, building it takes
RC- long, and it probably takes very much longer if building it on an
RC- emulator such as Cygwin.

I can certainly confirm that!

RC- But where's the actual problem? Unless you are developing on GCC, you
RC- normally build it once and then use it for a longer period. ;)

Agreed. The real issue would be how long to turn around a change to a
package that already builds. I haven't gotten that far yet.

My response to Cygwin is like the old saying about training cats: It's not
so much that the results are great, but impressive it can be done at all!

> MD- it then won't compile the powerpc-rtems bsp with various error
messages.

RC- There is no powerpc-rtems BSP. There are several powerpc-rtems BSPs,
RC- some of which are bugged and ought to be fixed.

The overwhelming majority _build_ without [major] complaint; I just had one
test on three BSPs that failed to build out of all the PPC BSP packages.
(Naturally, I haven't tried to _run_ _any_ of them, yet.)
 &8-)

We are still selecting processor, RTOS, and development tools. I want to
consider RTEMS and will probably start with the PPC 'psim' and the x86 PC
target, just to show folks. If there is interest we would probably buy one
model which has an RTEMS BSP, and play a bit with that.

Regards.
 - Mills

John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882



More information about the users mailing list