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  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 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw
From: Eric Norum <wenorum@lbl.gov>
To: Yoram Fisher <Yoram@sydorinstruments.com>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 7 Jun 2012 08:34:02 -0700
Sorry to have been confused by your original message.  I didn't realize that you really did want to cross-compile.

RTEMS tools, core and board-support packages are all available as RPM files with support for APT or Yum.
I know that RTEMS/EPICS for the uC5282 builds without problems  on a LInux (or OS X) platform.


Here's what the build output near the link command for the EPICS libCom test harness looks like on my machine:
…
/usr/local/rtems/rtems-4.10/bin/m68k-rtems4.10-gcc --pipe -B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/ -specs bsp_specs -qrtems   -fasm -c   -mcpu=5282              -DUNIX     -O2 -g -g  -Wall      -DMY_DO_BOOTP=NULL      -MMD -I. -I../O.Common -I. -I.. -I../../../../include/os/RTEMS -I../../../../include        ../epicsMaxThreads.c

/usr/local/rtems/rtems-4.10/bin/m68k-rtems4.10-gcc --pipe -B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/ -specs bsp_specs -qrtems   -fasm -c   -mcpu=5282              -DUNIX     -O2 -g -g  -Wall      -DMY_DO_BOOTP=NULL      -MMD -I. -I../O.Common -I. -I.. -I../../../../include/os/RTEMS -I../../../../include        ../buckTest.c

/usr/local/rtems/rtems-4.10/bin/m68k-rtems4.10-g++ -B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/ -specs bsp_specs -qrtems   -c   -mcpu=5282              -DUNIX     -O2 -g -g  -Wall      -DMY_DO_BOOTP=NULL     -MMD -I. -I../O.Common -I. -I.. -I../../../../include/os/RTEMS -I../../../../include        ../cvtFastPerform.cpp
../cvtFastPerform.cpp: In member function 'void Test::execute()':
../cvtFastPerform.cpp:63: warning: integer overflow in expression
../cvtFastPerform.cpp:65: warning: integer overflow in expression
../cvtFastPerform.cpp:75: warning: integer overflow in expression
/usr/local/rtems/rtems-4.10/bin/m68k-rtems4.10-g++ -B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/ -specs bsp_specs -qrtems   -o rtemsTestHarness -static -L/usr/local/epics/R3.14.12/base-3.14.12.2/lib/RTEMS-uC5282         -mcpu=5282 -u Init /usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/no-dpmem.rel /usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/no-mp.rel /usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/no-part.rel /usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/no-signal.rel /usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/no-rtmon.rel            rtemsTestHarness.o epicsCalcTest.o epicsAlgorithmTest.o epicsMathTest.o epicsEllTest.o epicsErrlogTest.o epicsStdioTest.o epicsStringTest.o epicsTimeTest.o epicsThreadTest.o epicsThreadOnceTest.o epicsThreadPriorityTest.o epicsThreadPrivateTest.o epicsExitTest.o epicsTimerTest.o ringPointerTest.o ringBytesTest.o epicsEventTest.o epicsMutexTest.o epicsExceptionTest.o macEnvExpandTest.o macLibTe!
 st.o taskwdTest.o blockingSockTest.o epicsMessageQueueTest.o epicsRunLibComTests.o epicsThreadPerform.o epicsMaxThreads.o buckTest.o cvtFastPerform.o    -lCom       -lm -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm
/usr/local/rtems/rtems-4.10/bin/m68k-rtems4.10-objcopy -O binary -R .comment -S rtemsTestHarness rtemsTestHarness.boot
echo "Installing created file ../../../../bin/RTEMS-uC5282/rtemsTestHarness"
Installing created file ../../../../bin/RTEMS-uC5282/rtemsTestHarness
echo "Installing created file ../../../../bin/RTEMS-uC5282/rtemsTestHarness.boot"
Installing created file ../../../../bin/RTEMS-uC5282/rtemsTestHarness.boot
make -C db/test install


-- 
Eric Norum
wenorum@lbl.gov



References:
EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher
Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Andrew Johnson
RE: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher

Navigate by Date:
Prev: RE: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher
Next: error: Command drvAsynIPPortConfigure not found Chen Xue
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 
Navigate by Thread:
Prev: RE: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher
Next: error: Command drvAsynIPPortConfigure not found Chen Xue
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 
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 ·