[luau] Dazzle me with your C programming prowess

Jimen Ching jching at flex.com
Mon Apr 22 17:49:13 PDT 2002


On Mon, 22 Apr 2002, Dean Fujioka wrote:
>Interesting. I use path names when compiling on my machine only. I don't
>know where other people put stuff. I was merely sharing a convention I
>learned from someone who has programmed and will program than I ever will.

There is nothing particularly wrong with using a full path in the include
directive.  I was merely pointing out that no one else does that.  ;-)

>Are you saying that the standard libraries are not in the
>implementation-defined list of directories?

The implementor of a compiler suite would place the standard libraries
(and header files) in a particular location in the file system, and
configure the compiler to look there.  The libraries you used were not
_standard_.  So the implementor was not required to support it in the
'implementation-defined' list of directories.

Also, /usr/local/include is almost never in the 'implementation-defined'
list of directories.  This is because standard libraries are never placed
there.  There is a convention for Unix like environments.  The /usr/local
hierarchy is for the local system administrator to install _locally_
compiled software.

--jc
--
Jimen Ching (WH6BRR)      jching at flex.com     wh6brr at uhm.ampr.org




More information about the LUAU mailing list