At 10:08 PM -0500 3/17/02, Michael G Schwern wrote: >Poking around in the DECC manual, there's two problems. >http://www.openvms.compaq.com/commercial/c/5492p004.htm#index_x_113 > >First, its INCLUDE_DIRECTORY, not INCLUDE (although INCLUDE works).
VMS applies the shortest unique prefix rule with commands and switches. I think /inc would work too, but that's probably a bit too short for comfort. >Second, there seems to be some confusing rules about mixing VMS and >Unix style paths. It seems that the style used in INCLUDE_DIRECTORY >has to match the style used in the #include. > >so this works: > > CC/DECC /INCLUDE=("./include") testparrotsizes.c > >but you might want to get independent confirmation from the vmsperl >folks about that. That's new. Older versions of the Dec C compiler didn't do that--the bit before the / was considered either a logical name or ignored. So you'd need a PARROT: logical to make it work. If the ./include scheme is OK, we'll go with that and require folks to have reasonably modern versions of Dec C. Given our rollout schedule, I don't consider that excessive. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk