Re: Install method
"H. S. Teoh" <[email protected]> Mon, 24 Feb 2003 08:35:12 -0500
| Newsgroups | gmane.comp.gnu.cons.general |
|---|---|
| Message-ID | <20030224133512.GA14010@crystal> |
On Mon, Feb 24, 2003 at 02:24:31PM +0100, Perochon Sebastien wrote: > Hello everybody, > > I'm new in both Cons and Perl. > I have used Cons successfully to compile some objects files to create a > static library. > My problem is that when I use the Install method to copy a library file (.a) > the Install method does not manage the build process of this .a > It means that the Install is done at the beginning whatever the .a file is > created or not. > > Here is the code I wrote to create the .a: > > Module $env 'mylib.a', 'mycpp.cpp', "%LD %LDFLAGS %> %<"; > > Install $env 'c:/', 'mylib.a'; [snip] Have you tried using the Library method instead of "Module"? As in: Library $env 'mylib.a', 'mycpp.cpp'; Install $env 'c:/', 'mylib.a'; T -- Marketing: the art of convincing people to pay for what they didn't need before and you can't deliver after. _______________________________________________ [email protected] http://mail.gnu.org/mailman/listinfo/cons-discuss Cons URL: http://www.dsmit.com/cons/