From: | meyersrl |
Date: | 25 Aug 2000 at 07:43:04 |
Subject: | [Fwd: Re: Just a wee question] |
> > Doesn't that convention cause a compatibility problem with other
> > compilers (which put all arguments on the stack)?
> Why would it? The only time another compiler might interface with an
> SAS/C executable would be through a documented library/device [...]
>I was thinking of objects created by another compiler (or an
>assembler)or a link library... it may also go the other way, i.e.
>someone compiles a source with SAS/C and wants to link the resulting
>object file with another project, using another compiler...
>Regards Allan
I looked this up in my SAS/C 6.XX manuals, they have a lot to say about
*.lib and *.library file
creation. I couldn't find anything about cross compiler compatibility of
object files. It seems to imply
that the compiler will create the correct stub routines to move arguments
into the correct registers,
or use the stack as expected, but I couldn't find anything definitive about
cross compiler issues.
Hopefully someone else on the list can enlighten us.
Bob Meyers