EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: RTEMSfor MVME5500
From: Kate Feng <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Date: Tue, 27 Jul 2004 12:44:54 -0400
[email protected] wrote:

> Hello Kate,
>
> Mr OH was added on what you attached Makefile.inc and mvme5500.cfg files.
> Tried again to make utility after cleared before error messages, but the other error messages are
> ¡°compiled for a little endian system and target is big endian¡±.
>
> Error Messqges:
> File in wrong format: failed to merge target specific data of file /opt/rtems/lib/gcc-lib/pp
> c-rtems/3.2.1/../../../../ppc-rtems/lib/libbfd.a(archive.o)
> /opt/rtems/lib/gcc-lib/ppc-rtems/3.2.1/../../../../ppc-rtems/bin/ld: /opt/rtems/lib/gcc-lib/
> ppc-rtems/3.2.1/../../../../ppc-rtems/lib/libbfd.a(archures.o): compiled for a little endian
>  system and target is big endian
>
> File in wrong format: failed to merge target specific data of file /opt/rtems/lib/gcc-lib/pp
> c-rtems/3.2.1/../../../../ppc-rtems/lib/libbfd.a(archures.o)
> /opt/rtems/lib/gcc-lib/ppc-rtems/3.2.1/../../../../ppc-rtems/bin/ld: /opt/rtems/lib/gcc-lib/
> ppc-rtems/3.2.1/../../../../ppc-rtems/lib/libbfd.a(bfd.o): compiled for a little endian syst
> em and target is big endian
>
> File in wrong format: failed to merge target specific data of file /opt/rtems/lib/gcc-lib/pp
> c-rtems/3.2.1/../../../../ppc-rtems/lib/libbfd.a(opncls.o)
> /opt/rtems/lib/gcc-lib/ppc-rtems/3.2.1/../../../../ppc-rtems/bin/ld: /opt/rtems/lib/gcc-lib/
> ppc-rtems/3.2.1/../../../../ppc-rtems/lib/libbfd.a(reloc.o): compiled for a little endian sy
> stem and target is big endian
>
> He used patch files version are below:
> binutils-2.13.2.1
> gcc-3.2.1
> rtems-ss-20030128
>
> Did you used different of patch versions for MVME5500 target?

 I used gcc-3.2.2.  I think gcc-3.2.1 works fine as well.
I downloaded  RTEMS4.6.0  from ftp://ftp.rtems.com/pub/rtems/4.6.0/
One should reference  Eric Norum's writeup :
http://www.aps.anl.gov/epics/base/RTEMS/tutorial/
in building the  GCC tool-chains and RTEMS and in learning
EPICS-RTEMS.

One example I have in building RTEMS is :

mkdir build
cd build
../rtems-4.6.0/configure -target=ppc-rtems -prefix=/opt/rtems3 --enable-cxx --enable-rdbg
--disable-tests --enable-maintainer-mode --enable-networking --enable-posix --enable-itron
gmake RTEMS_BSP=mvme2307
gmake RTEMS_BSP=mvme2307 install


Another option is to download the  prebuilt binary  files from
http://www.rtems.com/.....   instead of building it
yourself, which I never tried.

Cheers,
Kate







References:
Re: Re: RTEMSfor MVME5500 hkm

Navigate by Date:
Prev: Re: Re: RTEMSfor MVME5500 hkm
Next: RE: RTEMSfor MVME5500 Siddons, David
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: RTEMSfor MVME5500 hkm
Next: Base on windows Steven Hunt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·