tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/gcc5 failing on macOS; which Fortran compiler?



> As far as I know, XCode on macOS does not come with a Fortran compiler. Joerg recommended I install gcc5 to get gfortran. However, the build breaks because there is no /usr/include:

[cut]

> The directory that should contain system headers does not exist:
>  /usr/include
> gnumake[3]: *** [stmp-fixinc] Error 1
> rm gcc.pod
> gnumake[2]: *** [all-stage1-gcc] Error 2
> gnumake[1]: *** [stage1-bubble] Error 2
> gnumake: *** [all] Error 2
> *** Error code 2
> 
> Any suggestions? Is there a supported Fortran compiler for macOS? Jonathan, which one do you use?

I am pretty sure I fixed that with

.if !empty(OSX_SDK_PATH)
CONFIGURE_ARGS.Darwin+= --with-sysroot=${OSX_SDK_PATH}
.endif

Is your Makefile rev. 1.15?

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index