On Thu, Jan 14, 2016 at 01:54:06AM -0800, Mark Millard wrote:
> Context: projects/clang380-import based amd64 FreeBSD used to try building
> for powerpc64
>
> In csu/powerpc64/Makefile I replaced:
>
> > CFLAGS+= -I${.CURDIR}/../common \
> > -I${.CURDIR}/../../libc/include \
> > -mlongcall
> . . .
> > CC:= gcc
> > COMPILER_TYPE:= gcc
>
> with
>
> > CFLAGS+= -I${.CURDIR}/../common \
> > -I${.CURDIR}/../../libc/include \
> > -mlong-calls
> . . .
> > #CC:= gcc
> > #COMPILER_TYPE:= gcc
>
> and clang 3.8.0 targeting powerpc64 sailed through and past it without the
> slightest complaint about it. (It later reported that 'soft float is not
> supported for ppc64' from the -msoft-float that is always used for libstand.)
That option only affects ARM. It doesn't have any effect on PPC64.
Roman
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"