HP3000-L Archives

May 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Tue, 2 May 2000 11:25:04 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Yes, Tony, you are right, the GNU gcc compiler does not know about
the #pragma intrinsic directive (and silently ignores it). So, if you
code calls to intrinsics (essentially calls to external routines that
happen to live in XL.PUB.SYS or NL.PUB.SYS) then you have to be very
diligent about the proper parameter passing (or expect runtime errors
as usual in C land ;-)

The #pragma intrinsic is one of the reasons why I sometimes mix c89
and gcc during porting. Using the c89 compiler is quite convenient
for those source files that need MPE specific calls.

Lars.

PS... I guess Stan can probably share the benefits of the CSEQ tool,
that (as far as I heard) can give the proper calling sequence, or
maybe even generate an example "ready for cut&paste".

ATOM RSS1 RSS2