Re: Error compiling .4GL

Mike Aubury <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WFkq3OUt-_GHM1o8-y5xYPmjc-OU5cXB-5HsZCFMoGEfw@mail.gmail.com>
Thats not 4gl code.

It would be

MAIN
MESSAGE "Hello world"
END MAIN


If thats just down to some "google translate" error - it might be
permissions related - whats in the generated .err file ?





On Mon, 11 Feb 2019 at 18:59, José María <[email protected]> wrote:

> Hi, I tried to compile a simple program like this:
>
> A.4GL
>
> PRINCIPAL
> MESSAGE "Hello world"
> Main end
>
> But depending on the name of the destination file it works or it gives me
> an error:
>
> 4glc a.4gl -o a
> (This gives me an error)
> Error compiling a - check a.err
> The failed command was: gcc -shared a.ao -o to -L "/ opt / aubit /
> aubit4glbin / lib" -laubit4gl-1.5_1 -I "/ opt / aubit / aubit4glbin /
> incl"> a.err 2> & 1
> The exit code is: 256
>
>
> But that works well:
> 4glc a.4gl -o ab
>
>
> Firstly gave me the error with a more complex program, but I tried to
> simplify to a minimal expression, it seems that it depends on the file name
> ... Does anyone know why?
>
> Thanks
>
> Jose Maria
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.