Experimental Physics and
| |||||||||||||||||
|
What kind of CPU is the "32 bit RISC CPU core" on this device? Is it an ARM, and x86 derivative, or something more exotic? I can't find anything on that website that hints the answer to this question. Porting EPICS to a new OS and/or CPU family will probably require you to do some work. In order to get an base-3.14.7/src/libCom/osi/os/cris-AXIS directory we copied the stuff from base-3.14.7/src/libCom/osi/os/Linux We created the necessary configfile: CONFIG.Common.cris-AXIS at base-3.14.7/configure/os/. If you're building this for Linux, your target architecture should be named something like linux-XXXX where the XXXX part is as generic a CPU name as is possible. The OS_CLASS for this target architecture as named in configure/os/CONFIG.Common.linux-XXXX would be "Linux" and there should be no need for you to have copied the osi/os/Linux directory contents since this code should work on all Linux systems. If you do copy the osi/os/Linux directory then if we need to make any changes to the Linux code in the future, your copy is likely to stop working. On the other hand if you're really building for a new OS called 'cris' then you may have some porting work to do - the src/libCom/osi/os code is OS-specific, and unless the OS is posix compliant you can expect to have to understand the src/libCom/osi directory and to write your own implementations of some of these routines. Compilation stops due to the following error: What version of GCC is this? ../../../src/libCom/cxxTemplates/epicsOnce.cpp In file included from ../../../src/libCom/osi/epicsThread.h:200, from ../../../src/libCom/cxxTemplates/epicsSingleton.h:26, from ../../../src/libCom/cxxTemplates/epicsOnce.cpp:29: ../../../include/os/cris-AXIS/osdThread.h:19: parse error before `)' token make[3]: *** [epicsOnce.o] Error 1 It works fine on all the Linux boxes we've tried it on. You're going to have to chase this a bit more by yourself since we have no way or replicating your results. I wish I could help, but so far I have nothing much to go on. - Andrew -- There is no S in exprexxo.
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |