cons-discuss
[Top][All Lists]
Advanced

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

Re: compiling flex & bison files


From: Johan Holmberg
Subject: Re: compiling flex & bison files
Date: Fri, 8 Mar 2002 00:27:38 +0100 (MET)

On Thu, 7 Mar 2002, Artem Kulakov wrote:
>
> The only problem I had is when compiling bison files if I pass both .c and
> .h files as targets the dependency check goes crazy - it recompiles .y file
> but does not recompile the generated .c and the library where it's included
> into. If I pass only the .c file everything is ok. As long as it works ...
>

This sounds weird.
Could you give us a concrete example of a "Construct" file that
doesn't work ?    (ie. with both .c and .h as targets).

> Now I have another problem. I'm trying to compile some home grown scripts. I
> setup the language, I use Objects method - all good. Now I want it to
> generate the binaries into game data folder, which is not under build top. I
> tried to use ObjectsInDir without any luck - it does not add targets at all.
>
> Any ideas?
>

Just a wild guess: do you specify the targets correctly on the
command line ?  If the target is "above" your current directory,
"cons ." will not work.

Otherwise, could you show a non-working example ?
That would make it much easier to try to help.

/Johan Holmberg






reply via email to

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