If you run cmake with "--debug-trycompile", it will leave the droppings
you're looking for.

>From cmake --help:
--debug-trycompile          = Do not delete the try compile directories.


HTH,
David


On Thu, Apr 1, 2010 at 4:10 PM, Phil Smith <[email protected]> wrote:

> Those who have had my dumb questions inflicted on them in the past will
> recall that I'm using CMake with a cross-compiler (Dignus) for IBM System z
> (mainframes).
>
> We recently added a new developer, and in setting her up, we had problems
> with:
> -- Check size of unsigned long long - failed
> (and all the other "-- Check size of ...").
>
> These fail quietly, with no compile errors. Past experience suggests that
> this is due to the regex not finding the magic string in the compiler
> output.
>
> After some tinkering, my user backed off to CMake 2.6, and now it works.
>
> I'm running 2.8.0 without problems; it looks like the process for doing the
> "check size" stuff changed in 2.8.1.
>
> One thing that was a huge impediment to figuring this out before was that
> the object created by the "check size" process seems to get deleted even if
> the process fails. That seems wrong: shouldn't it leave the droppings for
> diagnosis if it fails?
>
> Anyway, any hints about what this change means in terms of how it processes
> stuff, and where to look to figure out the issue? Fortunately I have a
> sacrificial machine that I can test on.
> --
> ...phsiii
>
> Phil Smith III
> [email protected]
> Voltage Security, Inc.
> www.voltage.com
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to