[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install method

From: H. S. Teoh
Subject: Re: Install method
Date: Mon, 24 Feb 2003 08:35:12 -0500
User-agent: Mutt/1.5.3i

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';

Have you tried using the Library method instead of "Module"? As in:

Library $env 'mylib.a', 'mycpp.cpp';
Install $env 'c:/', 'mylib.a';


Marketing: the art of convincing people to pay for what they didn't need
before and you can't deliver after.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]