On Sat, May 5, 2018 at 5:11 AM, Pascal via Gnoga-list <
[email protected]> wrote:
> Thanks again Jeremiah for reporting,
>
> > Le 4 mai 2018 à 01:35, Jeremiah Breeden a écrit :
> > >
> > > 3. For some reason on Ubuntu, it looks for gnoga-application-Linux
> and gnoga.application-Unix in the build process but the files are all lower
> case named. It builds fine on windows which is case insensitive but fails
> on Ubuntu which is strict on case. Renaming the files fixes the issue.
> >
> > Yes, it's a awful trick in gnoga.gpr which works on macOS (case
> insensitive file names with standard file system):
> > for Body ("Gnoga.Application.Open_command") use
> "gnoga-application." & Settings.Build_Target;
> >
> > Here is a patch:
> >
> > diff --git a/src/gnoga.gpr b/src/gnoga.gpr
> > index e480793b..198494ea 100644
> > --- a/src/gnoga.gpr
> > +++ b/src/gnoga.gpr
> > @@ -11,7 +11,14 @@ project Gnoga is
> > for Library_Kind use "static";
> >
> > package Naming is
> > - for Body ("Gnoga.Application.Open_command") use
> "gnoga-application." & Settings.Build_Target;
> > + case Settings.Build_Target is
> > + when "Windows" =>
> > + for Body ("Gnoga.Application.Open_command") use
> "gnoga-application.windows";
> > + when "OSX" =>
> > + for Body ("Gnoga.Application.Open_command") use
> "gnoga-application.osx";
> > + when others =>
> > + for Body ("Gnoga.Application.Open_command") use
> "gnoga-application.linux";
> > + end case;
> > end Naming;
> >
> > package Compiler renames Settings.Compiler;
> >
> >
> > Does it work better?
> >
> > I'll have to try it out next week to be sure. I'm at home tomorrow and
> my ubuntu box is at work. Thanks.
>
> Let us informed.
>
>
Sorry for the late response. I was working in a standalone environment, so
it took a bit to get setup again.
I was able to verify that this change fixes the case-sensitivity issue in
linux and still works in windows
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list