mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 11:31:00 -05:00

By default, the program still builds on Linux to a stub that just prints 'nothing to see here'. But if you compile with -DTEST_COMPILE_ON_LINUX, it compiles to a program that still doesn't do anything _actually_ useful, but goes through all the same motions that real osxlaunch would go through, until the final execv(2) fails because of course it's not _really_ living in an application bundle directory of the right shape. That allows me to run all the setup code under the debugging tools I'm most used to, in my preferred environment. (Same rationale as having puttyapp / ptermapp build for Linux too.)