[Cmake] ar+ranlib detection

Doug Henry doug_henry at xontech . com
Thu, 09 Oct 2003 09:37:03 -0400


I have a development toolchain built independently of my linux distro. 
For example, binutils and gcc are in a dir called /server/tools/bin. 
This path is first in my bash PATH.  When I run cmake my compilers get
detected according to my path, but the binutils (ar, ranlib, etc) are
always detected in /usr/bin.  Shouldn't they also be detected from the
path search order?  Is there a way I can fix this without having to
manually change it through ccmake?

Thanks