Monday, 2 March 2015

Re: [gccsdk] adding files via autobuilder



On 03/03/2015 00:24, Theo Markettos wrote:
On Tue, Mar 03, 2015 at 12:13:22AM +0000, John Ballance wrote:  
As I understand it, I put the file in autobuilder libraries/libgpg-error0 as  src.syscfg.lock-obj-pub.riscos.h     and add a line to the start of the setvars saying     ln -T -s -F $H/src.syscfg.lock-obj-pub.riscos.h  $S/src/syscfg/lock-obj-pub.riscos.h    Have I missed a nicety?  
  That looks OK - however you probably want to copy it rather than symlink  because if anything changes that file as part of the build process it'll  corrupt the autobuilder version.    Why are you doing -F when you aren't using hard links, out of interest?   Best to avoid unusual options if you can (-F means something different on  Linux and FreeBSD; -T doesn't exist on FreeBSD) as it makes it harder to  crossbuild on non-Linux platforms.

your cp variant would seem better. What I used was gleaned from one of the autobuilder library things.

Thanks

John

    Theo    _______________________________________________  GCCSDK mailing list gcc@gccsdk.riscos.info  Bugzilla: http://www.riscos.info/bugzilla/index.cgi  List Info: http://www.riscos.info/mailman/listinfo/gcc  Main Page: http://www.riscos.info/index.php/GCCSDK    

--
Stop press! Just announced -

Free Standard Broadband for 6 months, unlimited data, and no minimum contract

For full details of see http://www.JustAskJB.co.uk

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment