[Info-vax] Bliss

Arne Vajhøj arne at vajhoej.dk
Sun Jul 21 09:29:29 EDT 2024


On 7/21/2024 5:18 AM, Hunter Goatley wrote:
> On 7/21/2024 4:59 AM, Hunter Goatley wrote:
>>
>> Interesting. I copied and pasted your sample program, and I get the 
>> same thing I get with all of my tests: it complains about expecting a 
>> name, and then it goes into an infinite loop. I can only get past that 
>> if I specify some name besides "main" for the main routine.
> 
> OK. I had not applied Lawrence's patch yet. After applying that, the 
> sample compiles OK. Thanks!

That was a prerequisite for this little trick.

>> Also, where is your puts() coming from?
> 
> Ah, I get it now. The use of gcc to do the link pulls it in from the C 
> RTL. I hadn't thought about that before.

On VMS you use LIB$ and SYS$ calls.

On Linux using C RTL seems to be the best equivalent.

Arne





More information about the Info-vax mailing list