My pleasure, here's an example of a CRTBNDC:
ixlc /path/to//sourcefile.c -oMYLIB/MYPGM -qdbgview=source
There must not be a space between -o and the program name, took a while to
figure out the first time.
2010/9/24 Dennis Lovelady <iseries@xxxxxxxxxxxx>
Would you mind sharing an example compile command that you'd issue from
Is it as simple (?) as /qsys.lib/crtcmod.cmd ... ?
"Money is what you'd get on beautifully without if only other people
so crazy about it."
-- Margaret Case Harriman
A propos the compiler listing: I've found that when using output(*print)
sometimes vital info is cut off due to formatting so to be sure I get
everything I normally output to a named textfile instead. For shorter
programs I also favor invoking the compiler from Qshell as it will echo
the error messages to stdout which can be time saving (don't have to
through a whole file for a single error).
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives