|
From: Tom H. <to...@co...> - 2005-11-12 09:00:55
|
In message <200...@gm...>
Josef Weidendorfer <Jos...@gm...> wrote:
> On Saturday 12 November 2005 00:09, Tom Hughes wrote:
>
> > I don't think pkgconfig has any support for dual architecture
> > systems
>
> Why would pkgconfig fail to support some further variables in valgrind.pc?
> The major defined ones (Name/Description/Version) have the same
> value for both subarchitectures in our case.
> All the variables handled in any special way by pkg-config (Libs/Cflags)
> would describe the primary architecture (amd64 here), and for the
> secondary arch we define our own variable names, e.g.
>
> installtypes=2
> arch=amd64
> arch2=x86
> platform2=x86-linux
> valt_load_address2=...
> Libs2=-L... -l...
> Cflags2=...
Becasue how will "pkg-config --libs" know which variable to use...
Basically it will force every body to use --variable and do al the
heavy lifting themselves and mean that most of the command line
options in the pkg-config manual page won't work reliably.
I would go with valgrind-x86-linux.pc and valgrind-amd64-linux.pc
personally.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|