[Insight-developers] static build of itk

Brad King brad.king at kitware.com
Mon Nov 28 10:28:27 EST 2011


On 11/24/2011 8:29 AM, brian avants wrote:
> architecture:  11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
> 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
>
> compiler : gcc-4.6.1 (same issue with standard osx lvm)
>
> in cmake :   BUILD_STATIC_EXECS               ON
>
> then make and i get  "   ld: library not found for -lcrt0.o   "   from below:

Has this ever worked on OS X?  IIRC that platform does not support
statically linked executables at all.

-Brad


More information about the Insight-developers mailing list