Re: [ptxdist] finding includes with cmake based projects

2011-01-19 Thread Michael Olbrich
Hi, On Thu, Jan 13, 2011 at 01:16:34PM +0100, Alexander Dahl wrote: You should use find_path(...). If you use the default prepare stage, then cmake is called with the proper parameters to find stuff in sysroot-target. This looks only slightly different in our rule:

[ptxdist] [PATCH] Do not allow 'lspci' from the 'pciutils' package, if the 'lspci' from busybox is enabled

2011-01-19 Thread Juergen Beisert
If busybox's and pciutils' lspci command is enabled, the one from pciutils seems to lose. This patch allows the selection of only one of these commands. Signed-off-by: Juergen Beisert j...@pengutronix.de diff --git a/rules/pciutils.in b/rules/pciutils.in index c9d0339..0f4c58d 100644 ---

[ptxdist] setlocale() fails in self written program

2011-01-19 Thread Alexander Dahl
Hello ptxdist developers, in a self written C program I want to use translated messages with locales and gettext. My test code works well on x86 (Ubuntu Lucid) and it also compiles and installs well with ptxdist. However on the target system, every call of the C function 'setlocale' fails and

Re: [ptxdist] setlocale() fails in self written program

2011-01-19 Thread Michael Olbrich
Hi, On Wed, Jan 19, 2011 at 04:30:54PM +0100, Alexander Dahl wrote: in a self written C program I want to use translated messages with locales and gettext. My test code works well on x86 (Ubuntu Lucid) and it also compiles and installs well with ptxdist. However on the target system, every