Article View: comp.std.c
Article #3297Re: Libraries specified in source?
From: Richard A. O'Keefe
Date: Mon, 25 Jan 1993 04:36
Date: Mon, 25 Jan 1993 04:36
14 lines
1071 bytes
1071 bytes
In article <1993Jan21.182949.29796@cronkite.ocis.temple.edu>, ray@astro.ocis.temple.edu (Ray Lauff) writes: > I have been programming in c for about a year or so now on various > platforms and I often find myself wondering why standard C has > no mechanisms for embedding the libraries required for loading > into the code. David Tilbrook had a utility, I think it was called "com". It just searched a file for special comments and made the compiler command line from them. All you need is a convention: /*! Needs: -lm */ and a preprocessor which can locate such comments and do The Right Thing (TM) with them. (dt's utility didn't go this far.)
Technical Details
Message-ID:
<16510@goanna.cs.rmit.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!escargot!goanna!okReferences:
<1993Jan21.182949.29796@cronkite.ocis.temple.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!escargot!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.std.c Subject: Re: Libraries specified in source? Message-ID: <16510@goanna.cs.rmit.oz.au> Date: 25 Jan 93 04:36:28 GMT References: <1993Jan21.182949.29796@cronkite.ocis.temple.edu> Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 14