[CMake] Re: Find* and cross compiling

2007-12-30 Thread Rodolfo Lima
Rodolfo Lima escreveu: > Hi all, > I've been exercising cmake-cvs's cross-compiling capabilities and I've > noticed that the way several Find* scripts work doesn't behave well with > cross-compiling. Sorry people, I was totally wrong. It must be too much Sun in the head, I don't know. It WORKS pro

[CMake] Re: Find* and cross compiling

2007-12-30 Thread Rodolfo Lima
Alexander Neundorf escreveu: > I'll check, but they shouldn't be searched anyway if the mode is set up > correctly. Well, if you specify the native path locations explicitly, they'll be searched. As I said, it's better to left cmake set them. It takes into account the paths set by CMAKE_FIND_ROO

Re: [CMake] Re: Find* and cross compiling

2007-12-30 Thread Alexander Neundorf
On Sunday 30 December 2007, Alexander Neundorf wrote: > On Sunday 30 December 2007, E. Wing wrote: > > Ugh, sorry, accidentally botched the first replies because the > > original reply was not to the list. > > > > On 12/28/07, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > > > On Fri, Dec 28, 2007 at 05

Re: [CMake] Re: Find* and cross compiling

2007-12-30 Thread Alexander Neundorf
On Sunday 30 December 2007, E. Wing wrote: > Ugh, sorry, accidentally botched the first replies because the > original reply was not to the list. > > On 12/28/07, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > > On Fri, Dec 28, 2007 at 05:40:59PM -0800, E. Wing wrote: > > > I didn't know cross-compiling

Re: [CMake] Re: Find* and cross compiling

2007-12-29 Thread E. Wing
Ugh, sorry, accidentally botched the first replies because the original reply was not to the list. On 12/28/07, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > On Fri, Dec 28, 2007 at 05:40:59PM -0800, E. Wing wrote: > > I didn't know cross-compiling was a feature now. > > Yes, works very well once you

Re: [CMake] Re: Find* and cross compiling

2007-12-29 Thread Alexander Neundorf
On Saturday 29 December 2007, Rodolfo Schulz de Lima wrote: > > By setting the mode to ONLY cmake will look ONLY in the directories with > > the > > CMAKE_FIND_ROOT_PATH prefix. > > Yes, I do this. The problem is that those scripts hardwire some default > paths to the native places where headers an

[CMake] Re: Find* and cross compiling

2007-12-29 Thread Rodolfo Schulz de Lima
By setting the mode to ONLY cmake will look ONLY in the directories with the CMAKE_FIND_ROOT_PATH prefix. Yes, I do this. The problem is that those scripts hardwire some default paths to the native places where headers and libraries are found. When we cross-compile, those defaults should be c