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

unclear what Settings->GnuCOBOL->Add compiler-> locate compiler wants me to select and wrong detail parsing #127

Open
GitMensch opened this issue Nov 9, 2022 · 0 comments

Comments

@GitMensch
Copy link
Contributor

It seems that is much better than the old way - which is still what is documented: https://github.com/mridoni/gix/blob/main/doc/tutorial.md

I've selected "D:/dev/msys64/mingw64" and this seems to be the correct thing; just adding some text what to select (maybe "base directory of the installation containing ..." - whatever you look for) would help a lot.

Note: the internal logic to check what is installed seems to be unfinished:
grafik

with the details showing

cobc (GnuCOBOL) 3.2-dev.0
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt
KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE ZWECKE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Erstellt  Sep 08 2022 18:21:51
Gepackt   Aug 31 2022 19:48:35 UTC
C-Version (MinGW) "12.2.0"

Build-Informationen
Build-Umgebung           : x86_64-w64-mingw32
CC                       : gcc
C-Version                : (MinGW) "12.2.0"
CPPFLAGS                 : -D__USE_MINGW_ANSI_STDIO=1
                           -ID:/Dev/msys64/mingw64/include
                           -I/mingw64/include
CFLAGS                   : -march=x86-64 -mtune=generic -O2 -pipe -ggdb3
                           -fasynchronous-unwind-tables -pipe
                           -fsigned-char -Wall -Wwrite-strings
                           -Wmissing-prototypes -Wno-format-y2k
LD                       : D:/Dev/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
LDFLAGS                  : -pipe

GnuCOBOL-Information
COB_CC                   : gcc
COB_CFLAGS               : -march=x86-64 -mtune=generic -pipe -pipe
                           -D__USE_MINGW_ANSI_STDIO=1
                           -ID:/Dev/msys64/mingw64/include
                           -I/mingw64/include -I/mingw64/include
                           -Wno-unused -fsigned-char -Wno-pointer-sign
COB_DEBUG_FLAGS          : -ggdb3 -fasynchronous-unwind-tables
COB_LDFLAGS              : -pipe
COB_LIBS                 : -L/mingw64/lib -lcob
COB_CONFIG_DIR           : /mingw64/share/gnucobol/config
COB_COPY_DIR             : /mingw64/share/gnucobol/copy
COB_MSG_FORMAT           : GCC
COB_OBJECT_EXT           : o
COB_MODULE_EXT           : dll
COB_EXE_EXT              : exe
64bit-mode               : ja
BINARY-C-LONG            : 4 Bytes
Bytereihenfolge          : Little-Endian
Natives EBCDIC           : nein
Erweiterte Bildschirm-Ei : pdcurses
Dateiformat für Variable : 0
Verarbeitung sequenziell : eingebaut
indexed file handler     : BDB
Mathematische Bibliothek : GMP
XML-Bibliothek           : libxml2
JSON-Bibliothek          : cjson

I guess this is related to the translated msgids. I'd suggest to export LANG=C before this is called to solve that.
Also note for

arguments << "-info";
that it should be --info (double hyphen).

.. and a last note: it would be useful to pre-set the compiler name with content derived from the check, in the case above it could be "GC 3.2 x64 GCC (MinGW) 12.2.0" for example.

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

1 participant