Somebody has to parse R1->length+data if you expect argc and argv[]. If you 
tell C not to do it then who is going to do it?

You could also take a look at __R1 if you want to do this yourself. It is 
somewhere obscure -- in the L/R perhaps.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Farley, Peter x23353
Sent: Tuesday, May 10, 2016 2:45 PM
To: [email protected]
Subject: Re: Assembler ATTACHing C

Doesn't the NOSTART compiler option prevent the "normal" C startup code 
(CEESTART) from being generated, and thus makes you provide your own startup 
logic?  Does your C "main" provide that logic for itself?

I also notice you are using Systems Programming C with (DEF(USE_SPC), so that 
means you are providing environment setup yourself, correct?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to