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>

Thanks, Erik.

Would you mind sharing an example compile command that you'd issue from
QSH?
Is it as simple (?) as /qsys.lib/crtcmod.cmd ... ?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Money is what you'd get on beautifully without if only other people
weren't
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
just
the error messages to stdout which can be time saving (don't have to
scan
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,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.



This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].