$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-07-18 08:59:30
[2003-07-18] Paul Schmidt wrote:
>In my tools file, I have:
>
>flags snps2ee PRELIB : ;
>flags snps2ee SUFLIB : .a ;
>
>This works when building a library. However, when trying to use that
>library:
>
>exe hello
> : hello.c crt0.s $(Top)/init/init.a
> : <include>$(Top)/ee/include
>;
>
>I get:
>
>Unknown suffix on <ee!hello>c:\dev\jamtest/init\init.a - see
>UserObject rule in Jamfile(5).
>
>What's wrong here?
You should not specify the suffix when using the library. Since it's a
target you are building (right?) you only specify the target (with type).
And also you don't need to use the $(Top), Boost.Build will handle, and for
main targets requires, using relative paths. The example above should be:
exe hello
: hello.c crt0.s <lib>../../init/init
: <include>../include
;
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq