Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for carification: What compiler binaries are contained in the releases? #118

Closed
GitMensch opened this issue Sep 20, 2022 · 6 comments

Comments

@GitMensch
Copy link
Contributor

We have "installer" and "installer-no-compilers", but what compiler binaries are actually included in the first version?
Note: a reasonable version info can be seen with cobcrun -vV | tail -n2.

I guess it would be reasonable to adjust the general note at https://github.com/mridoni/gix#compiler-packages a bit (maybe add the featureset and note if x86 and x64 contain the same compilers [for VC you likely would want to note that it needs to be installed separately, if that's not part of the installer]) and have a note in each release which Win32 compilers are included using the version output as mentioned above.

@mridoni
Copy link
Owner

mridoni commented Sep 20, 2022

This is actually undergoing a massive overhaul: I am moving the build/packaging process to GitHub and developing the actions and workflows to handle it (obviously this also applies to GixSQL). Part of this work consists in developing a few workflows that automatically build GnuCOBOL compiler binaries (for Windows and Linux). These will be used to generate the compilers to be added to the Gix-IDE install package, but of course will be available for anyone to use (and, quite obviously, for the GnuCOBOL project itself).

Having had little time in these weeks (and since I will be leaving for a vacation in a few days) I decided to finally tackle this work, that can be managed in a "bits-and pieces" style (basically: when I have the time) and will help to give more structure and to better manage the project(s) as a whole.

When completed, the workflows will be made public under the usual GPL+LGPL license. For now, and until I am satisfied with the results, I am working in a private repository (and using a self-hosted runner, that makes the seemingly infinite "edit-commit-run-check log-fix-repeat" cycle more bearable).

@GitMensch
Copy link
Contributor Author

GitMensch commented Sep 20, 2022

Just some notes to possibly help with that work:

@mridoni
Copy link
Owner

mridoni commented Sep 20, 2022

Just some notes to possibly help with that work:

Ok, thanks, I am already the OCamlPro repository for the GnuCOBOL sources, and the MSVC workflow is almost there (it basically works, but there are still some wrinkles to be ironed). I will look into it for the MinGW(32/64) build, that is currently a re-pack of a minimal MSYS2 install tree with the GnuCOBOL packages installed. It works, obviously, but it is huge and I would like to slim it down at least a little

@GitMensch
Copy link
Contributor Author

I will look into it for the MinGW(32/64) build, that is currently a re-pack of a minimal MSYS2 install tree with the GnuCOBOL packages installed. It works, obviously, but it is huge and I would like to slim it down at least a little

I guess you want something like the following (in MSYS2 with whatever state):

mkdir -p $HOME/gconly
pacman --noconfirm --root=$HOME/gconly --dbpath=$HOME/gconly -Sy mingw-w64-x86_64-gnucobol mingw-w64-x86_64-gnucobol

and then use the created folders $HOME/gconly/mingw32 and $HOME/gconly/mingw64 (500/600 MB); if you want to test a bit around you should be able to slim that down a lot by removing unnecessary files under "include", "share" and "lib".

... and if you want GDB debugging experience (which in your case is likely not the case) add packages mingw-w64-x86_64-gdb-multiarch mingw-w64-x86_64-python-pygments [no need to install i686, as the x64_64 can debug this, too; maybe the GDB part is best kept as separate = 3rd package])

@mridoni
Copy link
Owner

mridoni commented Sep 20, 2022

I guess you want something like the following (in MSYS2 with whatever state):

Your suggestion worked as expected, thanks again.

@GitMensch GitMensch changed the title Request for carification: What installers are contained in the releases? Request for carification: What compiler binaries are contained in the releases? Sep 21, 2022
@GitMensch
Copy link
Contributor Author

Nearly done with the new distribution, as the only missing piece is the "detail version" as seen with cobcrun -vV I'm closing this in favor of #123.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants