<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 29, 2020 at 10:02 AM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 29/7/20 4:43 am, Mritunjay Sharma wrote:<br>
> First of all apologies for a little late response, <br>
> please find the link to the blogs which tell how to Build EPICS7 with <br>
> RTEMS5 for pc-386 by hand here: <br>
> <br>
> Part 1<br>
> : <a href="https://medium.com/@mritunjaysharma394/installing-rtems-ecosystem-and-building-your-first-bsp-993d1cf38902" rel="noreferrer" target="_blank">https://medium.com/@mritunjaysharma394/installing-rtems-ecosystem-and-building-your-first-bsp-993d1cf38902</a><br>
> <br>
> Part<br>
> 2: <a href="https://medium.com/@mritunjaysharma394/building-epics7-with-rtems5-by-hand-12d9fbd2eb82" rel="noreferrer" target="_blank">https://medium.com/@mritunjaysharma394/building-epics7-with-rtems5-by-hand-12d9fbd2eb82</a><br>
> <br>
> Please do have a read and give me your feedback for improvements<br>
> <br>
<br>
It looks good.<br>
<br>
I think adding the commands you use after the text "Unzip the downloaded Zip<br>
file inside this directory." helps. If the blob captures the exact commands it<br>
makes it easier for me to follow. The EPICS link is hard to find.<br></blockquote><div><br></div><div>Thank you so much for the feedback. I will fix that.  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> On Mon, Jul 27, 2020 at 7:20 AM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a><br>
> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>> wrote:<br>
> <br>
>     On 27/7/20 10:34 am, Mritunjay Sharma wrote:<br>
>     ><br>
>     > Please find the patch for PC for EPICS here<br>
>     ><br>
>     <a href="https://github.com/mritunjaysharma394/epics-mritunjay/blob/master/patches/0001-Added-Support-for-RTEMS-pc386.patch" rel="noreferrer" target="_blank">https://github.com/mritunjaysharma394/epics-mritunjay/blob/master/patches/0001-Added-Support-for-RTEMS-pc386.patch</a><br>
> <br>
>     Thanks.<br>
> <br>
>     > As an experiment, in the 4 patches I have sent to devel for RSB recipe a few<br>
>     > days pack, I worked on a local file. I will modify it to published source soon<br>
>     > in the next version of patch.<br>
> <br>
>     Are the EPICS configure files just Makefiles?<br>
> <br>
> <br>
> I think so and more clarity can be given by Heinz on it.  <br>
<br>
Lets assume they are for now.<br></blockquote><div><br></div><div>Okay.  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
>     Can the variables altered in your patch be controlled from the command line?<br>
> <br>
>     What does the `T_A` variables in EPICS mean? I see this is used here ...<br>
> <br>
> I searched about it in the EPICS documentation and found that T_A variable refers<br>
> to 'T_A) is the current build’s target architecture'.<br>
<br>
Target Architecture seems likely. I would assume we need to look into what these<br>
are more.</blockquote><div><br></div><div>Yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I tried to alter it using the command line but I think it didn't work or maybe I<br>
> was doing in the wrong way? Heinz, can you comment on this? <br>
<br>
Please post the commands and the output. I find it hard to follow what is<br>
happening here.<br>
 <br>
>     <a href="https://github.com/mritunjaysharma394/epics-mritunjay/blob/master/configure/CONFIG#L64" rel="noreferrer" target="_blank">https://github.com/mritunjaysharma394/epics-mritunjay/blob/master/configure/CONFIG#L64</a><br>
> <br>
>     If you look down from this there are some special includes ...<br>
> <br>
>     <a href="https://github.com/mritunjaysharma394/epics-mritunjay/blob/master/configure/CONFIG#L113" rel="noreferrer" target="_blank">https://github.com/mritunjaysharma394/epics-mritunjay/blob/master/configure/CONFIG#L113</a><br>
> <br>
>     What are these files for?<br>
> <br>
> <br>
> I found this information about them in the documentation: <br>
> <br>
> 'User specific override definitions are allowed in user created files in the user’s<br>
> <home>/configure subdirectory. These override definitions will be used for builds<br>
> in all <top> directory structures. The files must have the following names.<br>
> <br>
> <home>/configure/CONFIG_USER<br>
> <home>/configure/CONFIG_USER.<epics_host_arch><br>
> <home>/configure/CONFIG_USER.Common.<targetarch><br>
> <home>/configure/CONFIG_USER.<epics_host_arch>.<targetarch>'<br>
<br>
That is promising but using $HOME makes it hard.<br>
<br>
> The link to the documentation is: <br>
> <a href="https://epics.anl.gov/base/R3-15/6-docs/AppDevGuide/BuildFacility.html" rel="noreferrer" target="_blank">https://epics.anl.gov/base/R3-15/6-docs/AppDevGuide/BuildFacility.html</a><br>
<br>
<br>
Thank you for the link. I will take a look.<br>
<br>
Chris<br></blockquote><div><br></div><div>You are welcome, Chris! Meanwhile, I worked out on testing part a little bit and will be starting another thread for it. </div><div>I am looking forward to your suggestions for the roadmap ahead. </div><div><br></div><div>Thanks</div><div>Mritunjay </div></div></div>