<div dir="ltr">First of all apologies for a little delayed<div>email. The classes have resumed just the </div><div>day after that 72 hours Hackathon and it became a lot hectic. </div><div><br></div><div>Finally, I am a little better synchronised now and hoping to </div><div>catch up pace. Before telling about my research work, let me</div><div>share with you about the past status. </div><div><br></div><div>Current Status: </div><div><br></div><div>1) Successfully built EPICS7 with RTEMS5 by hand for pc-386<br>2) Worked for RSB recipe. <br>   In its due process, I Wrote:  <br>    i) rsb/rtems/config/epics/epics-7-1.cfg <br>    ii)rsb/rtems/config/epics/epics-base.bset <br>    iii)rsb/source-builder/config/epics-7-1.cfg<br>3) Added Patch for RTEMS-pc-386 support which made the above recipe work successfully. <br>4) Therefore, Successully built EPICS7 with RTEMS5 by using RSB recipe as well for pc-386 as of now. <br></div><div>5) Sent 4 Patches for review of the same. </div><div><br></div><div>What problems are in the next steps?</div><div><br></div><div>1) How to make it work across different architectures?</div><div>2) Exisiting EPICS works on the old legacy network stack.</div><div>3) I am not using EPICS upstream branch. It is being built</div><div>by Heinz's epics playground. </div><div>4) Doubts in how to start with testing. </div><div><br></div><div>My Resarch work for the Problem no: 1</div><div><br></div><div>I have gone through the EPICS developer guide from here</div><div>exhaustively in the past couple of day and here are few interesting things</div><div>that I found which can help: </div><div><br></div><div>1) "The main ingredients of the build system are:</div>• A set of configuration files and tools provided in the EPICS base/configure directory<br>• A corresponding set of configuration files in the <top>/configure directory of a non-base <top> directory<br>structure to be built. The makeBaseApp.pl and makeBaseExt.pl scripts create these configuration files. Many of<br>these files just include a file of the same name from the base/configure directory.<br>• Makefiles in each directory of the <top> directory structure to be built<br>• User created configuration files in build created $(INSTALL_LOCATION)/cfg directories.<br><div>"</div><div><br></div><div>Remarks: Now since it is also mentioned in the guide that "makeBaseApp.pl </div><div>creates directories and then copies template files into the newly created directories </div><div>while expanding macros in the template files. EPICS base provides two sets of template files: simple and example."</div><div>Can we think of using makeBaseApp.pl to that end? Making the user allow </div><div>to change the configurations from the terminal? </div><div><br></div><div>2) "The startup directory in EPICS base contains a perl script, EpicsHostArch.pl, which can be used to define</div>EPICS_HOST_ARCH. This script can be invoked with a command line parameter defining the alternate compiler (e.g.<br>if invoking EpicsHostArch.pl yields solaris-sparc, then invoking EpicsHostArch.pl gnu will yield<br>solaris-sparc-gnu).<br>The startup directory also contains scripts to help users set the path and other environment variables"<div><br></div><div>Remarks: As EPICS_HOST_ARCH, can we do something similar for CROSS_COMPILER_TARGET_ARCHS?</div><div><br></div><div>3) ") The following is a summary of targets that can be specified for gnumake:</div>• <action><br>• <arch><br>• <action>.<arch><br>• <dir><br>• <dir>.<action><br>• <dir>.<arch><br>• <dir>.<action>.<arch><br>where:<br><arch> is an architecture such as solaris-sparc, vxWorks-68040, win32-x86, etc.<br><action> is help, clean, realclean, distclean, inc, install, build, rebuild, buildInstall, realuninstall, or uninstall"<div><br></div><div>Remarks: Now similar to the above stated, can we work for Cross Compiler target Architecture? </div><div><br></div><div>These were the little doubts that originated from the research work I did. </div><div>I will like the opinion of mentors that what can be the optimal way now to approach the</div><div>project after this? What can be some resources for better research work of the</div><div>above problems? </div><div><br></div><div>Also, for the reference: </div><div>Link to the changes in commits of rsb can be found here: <a href="https://github.com/RTEMS/rtems-source-builder/compare/master...mritunjaysharma394:epics-support">https://github.com/RTEMS/rtems-source-builder/compare/master...mritunjaysharma394:epics-support</a></div><div><br></div><div>The patch for epics can be found here: <a href="https://github.com/mritunjaysharma394/epics-mritunjay/tree/master/patches">https://github.com/mritunjaysharma394/epics-mritunjay/tree/master/patches</a></div><div><br></div><div><br></div><div>Thanks </div><div>Mritunjay Sharma</div><div><br><div><br><div><br></div><div><br></div></div></div></div>