Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
eferreyra asked how to generate a .4go file for r4gl using c4gl. Jonathan Leffler said c4gl produces C-code and cannot target p-code; fglpc file.4gl produces the .4go. Art Kagel described concatenating fglpc objects for multi-file apps. The real aim was using a web-service client built with w4glc in a p-code program; Jonathan said I4GL-SOA did not support p-code at that time.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
On Wed, Mar 27, 2013 at 3:38 PM, eferreyra <eferreyra@gmail.com> wrote:
> How can I generate a .4go file to be linked with the r4gl for fglgo with
> c4gl ?
>
The c4gl script comes with the I4GL (c-code) compiler and generates code
for the C compiler (and ESQL/C compiler). It cannot be used to generate
for the I4GL-RDS (p-code) compiler; you need the fglpc command (and a
development copy of I4GL-RDS) for that. If you have r4gl, though, you
should have the fglpc compiler too.
fglpc file.4gl
This will generate file.4go for use with r4gl.
--
Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2013.0118 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."
↪ replying to eferreyra
Art Kagel — — source: Usenet: comp.databases.informix
If you have a multi-file 4Gl app and want to link the modules together just
fglpc each source file then cat the resulting object files together into a
single .4go or .4gi executable and run that using fglgo.
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
On Wed, Mar 27, 2013 at 6:38 PM, eferreyra <eferreyra@gmail.com> wrote:
> Hello, a question: How can i generate a .4go file to be linked with the
> r4gl for fglgo with c4gl ?
>
> Thanks
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
Ok, i know about fglpc, let me explain, all our main programs are compiled as .4go and linked as .4gi.
Now i have followed instructions (very hard ones) to create a .4cf file for a web service suscribe, with this .4cf file and the w4glc tool i generate the .c and .o file for the ws client, to use this client from .4gl i see that i need to use the c4gl compiler, i did, but how can i make the web service client to our .4gi (p-code) main program then ?
Thanks
On Thu, Mar 28, 2013 at 4:12 AM, eferreyra <eferreyra@gmail.com> wrote:
> Ok, i know about fglpc, let me explain, all our main programs are compiled
> as .4go and linked as .4gi.
>
> Now i have followed instructions (very hard ones) to create a .4cf file
> for a web service suscribe, with this .4cf file and the w4glc tool i
> generate the .c and .o file for the ws client, to use this client from .4gl
> i see that i need to use the c4gl compiler, i did, but how can i make the
> web service client to our .4gi (p-code) main program then ?
>
Ask half a question; get half an answer? Also known as the XY Problem (
http://mywiki.wooledge.org/XyProblem).
I4GL-SOA does not support p-code at the moment, AFAICR. That is, it
supports c-code services, but not p-code services. There is nothing
completely impossible about supporting p-code, but the parts have not all
been hooked together (and doing so is not entirely trivial).
--
Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2013.0118 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.