[Gambas-user] BSD gambas compile
Bruce Steers
bsteers4 at gmail.com
Thu Dec 31 21:51:29 CET 2020
Do not fret Tobias.
I have a knack for looking at things alternatively.
The double $$ is not something I've used before so issued that line as I
would have done. I tried a number of other things too till I found the
issue.
Why? You ask. Lol, I'm sure we've both been at this long enough to know,
god knows why it works better that way, but it does 😉
And yes I've checked the output trunk_version.h file against original and
using changes on bsd and linux.
Tis all good 😇
The only "bad" change done is I removed a non empty flag from rmdir
commands in app/
All other changes I think are sound.
BruceS
On Thu, 31 Dec 2020, 19:05 Tobias Boege, <taboege at gmail.com> wrote:
> On Thu, 31 Dec 2020, Bruce Steers wrote:
> > i found and fixed problem :)
> > https://gitlab.com/bsteers4/gambas/-/blob/master-bsd/main/Makefile.am
> >
>
> Could you explain what the problem was? Was it a GNU-, bash-, Linux-ism in
> the script or something else entirely? The diff of that commit [1] doesn't
> make sense to me. Why would removing a layer of dollars on *some* shell
> variables fix anything? Moreover, do they not get expanded too soon now?
>
> What the trunk_version.h feature does is put version control data into the
> output of the compiler and interpreter version, in addition to the Gambas
> version string, i.e. if you compile from a git repository, you get:
>
> $ main/gbc/gbc3 --version
> 3.14.90 46625f446 (gb.test.tap)
>
> Sorry to bother, but I don't have a BSD available. But if I had I would try
> to make a *fresh* clone of your master-bsd branch and run the routine
>
> cd main && ./reconf && ./configure && make trunk_version.h && cat
> trunk_version.h
>
> to check if that problem really is fixed. If you then build the compiler or
> interpreter and call it with the --version flag, you should see your
> current
> commit "fdff17b00" and the "master-bsd" branch mentioned in the output.
>
> Regards,
> Tobias
>
> [1]
> https://gitlab.com/bsteers4/gambas/-/commit/fdff17b005c2fbea193539927c1d4dadae5ef3ed
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201231/7d2dbaaf/attachment-0001.htm>
More information about the User
mailing list