I have never done what you are asking about. (Done lots of the opposite: C++
calling HLASM.) I recall that there is decent doc in one of the manuals.

If you need long name support can't you do that in HLASM with GOFF? If not,
you need to use the C prelinker which mushes long names into short.

As others have alluded, this is not a quickie question. You are going to
need some serious study.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Dave Clark
Sent: Tuesday, June 6, 2023 9:48 AM
To: [email protected]
Subject: Re: Calling C functions from HLASM

"IBM Mainframe Assembler List" <[email protected]> wrote on 
06/06/2023 12:10:08 PM:
> I really hesitate to mention this, being as it it mine, not really very
> good code, but https://urldefense.com/v3/__https://github.com/
> JohnArchieMckown/utilities-1/find/master__;!!E0nbmg29qrX0lQ!
> 
aj5Q4OBH5sqMRPmyCDBHnqp2WItdttjwGs4WQfKLwd4jwNLv470EZiQTuFl_8PzRd5TuAxPN9RAn
igLctAz4cHfvpgDjYS4$
> 
> And look at SKELETON.s file. Plesse be kind. The entire program is LE
> enabled, with LE startup and termination macros, from IBM.


        I take it that LE takes care of connecting the long C function 
names to the C runtime libraries?

Reply via email to