TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Proportional 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:
"Robert C. Leif, Ph.D." <[log in to unmask]>
Reply To:
Robert C. Leif, Ph.D.
Date:
Mon, 13 Dec 1999 10:57:42 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (61 lines)
From: Bob Leif
To: Tucker Taft et al.

David C. Hoos, Sr very kindly let me in on the trick.
"You need to include Libc.lib from the apilib directory in your project."
I still have not found the ObjectAda documentation for this library.

For the ObjectAda users, this library becomes available by going to Project
Setings.Link and entering without the quotes "apilib\Libc.lib" in the Pass
to linker box.

I am not allergic to C direct system calls as long as they are in some
interface package. In fact, these calls appear to be quite valuable.
Therefore, I suggest that a standard Ada library be created to access these
calls or at least, the compiler vendors who have included these calls should
provide some documentation with an example.

Persons like myself, who are PC users and have not been exposed to UNIX
machines, often become confused because of terminology.  One excellent
example is "Environmental Variable". It is not found in: the Microsoft
Windows 98 Help, or the Microsoft Windows 98 Resource Kit, or HTML 4.01
Specification W3C Proposed Recommendation This version:
http://www.w3.org/TR/1999/PR-html40-19990824. I have been told that it does
exist in other Microsoft documentation. The HTML books do use this term with
insufficient explanation.

Many thanks to all of those of you who have tried to help me on this
project.

Bob Leif


-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]]On Behalf Of Tucker
Taft
Sent: Monday, December 13, 1999 8:26 AM
To: Robert C. Leif, Ph.D.
Cc: [log in to unmask]
Subject: Re: Accessing "CGI data" (Was: Rational A.5 Command Line and
HTML)


"Robert C. Leif, Ph.D." wrote:
>
> From: Bob Leif
> To: Doug Smith et al.
> Your CGI.Environment.Adb contains the reference to the same getenv C
> function as does David Wheeler's CGI.Adb.
> ...

I think you are confusing the "C" convention with the need for
a C compiler.  Many operating systems provide a system call
library which uses C calling conventions.  This does not imply
that you need a C compiler to make use of them.  Although "getenv"
is not strictly a system call (it is generally fetching data from the
user process stack), it is treated pretty much as such for these
purposes.  You should not be so allergic to C as to not be willing
to make direct system calls, at least in some interface package.

-Tuck

ATOM RSS1 RSS2