EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Is it possible to create a cross-compile environment using cygwin and vxWorks on Windows XP
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: 송영기 <[email protected]>
Date: Thu, 21 Jun 2012 12:12:48 -0500
Hi,

It should be possible to cross-build for vxWorks from Cygwin, I suspect you 
just need to make some configuration file changes.

On 2012-06-21 송영기 wrote:
> I want to have a target IOC for mvme5100 using cygwin and vxWorks5.5
>  (Tornado2.2) on Windows XP. My base compile produces only cygwin-x86
>  binary and library files, such as $EPISC_BASE/bin/cygwin-x86 and
>  $EPISC_BASE/lib/cygwin-x86. There is no vxWorks-ppc604 binary and library
>  for target board.

> I edited base config files below.
> - configure/CONFIG_SITE
>
>   : CROSS_COMPILER_TARGET_ARCH=vxWorks-ppc604

That name should be CROSS_COMPILER_TARGET_ARCHS, I suspect you just typed it 
wrong in your email though.

I suspect the problem is that the value for CROSS_COMPILER_TARGET_ARCHS that 
you set in CONFIG_SITE gets overridden in the file 
configure/os/CONFIG_SITE.cygwin-x86.Common where it currently gets set to 
empty by default (this is a bug which I will fix).  Try commenting out the 
setting in that file, or moving it there instead, then run 'make' from the top 
directory again.

You might need to change your vxWorks target architecture and use the one 
called vxWorks-ppc604_long instead, since MVME5100 boards have more than 32MB 
of RAM.  You'll know that is the case if you see the error "Relocation value 
does not fit in 24 bits." when the startup script loads the IOC's .munch file.  
There is more information about this issue at
    http://www.aps.anl.gov/epics/base/ppc.php#Relocation

I hope this helps,

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte


References:
Is it possible to create a cross-compile environment using cygwin and vxWorks on Windows XP 송영기

Navigate by Date:
Prev: Re: put callback queuing Tim Mooney
Next: RE: put callback queuing matthew.pearson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Is it possible to create a cross-compile environment using cygwin and vxWorks on Windows XP 송영기
Next: put callback queuing Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·