Subject: | |
From: | |
Reply To: | |
Date: | Thu, 26 Feb 1998 18:28:23 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
[log in to unmask] (GF) wrote:
>I have an old old RPG program which calls an external SPL routine that
>I'd like to recompile and link. But I am having some trouble.
>
>I can create a USL from the RPG compiler by compiling it:
>
>RPG finload, finusl, $null
>
>and I can create an object file from the external SPL routine by
>compiling it (SPLASHIT is a command file...)
>
>SPLASHIT bdate,,$null,,200000,,3000 {this creates object file bdate.o}
>
>my question is, how do I take this USL and object file and create an
>executible?
>
This is not a USL, but rather an NMOBJ file. SPLash! is a Native Mode SPL
compiler. You want to be using the Compatibility Mode SPL compiler with a
command similar to:
SPL bdate,finusl,$null
to compile the SPL portion into the same USL. You should then be able to PREP
it successfully into a CM executable.
Steve Cooper
|
|
|