Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 01:54:06 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   clang 3.8.0 amd64 targeting powerpc64 accepts -mlong-calls (instead of -mlongcall)
Message-ID:  <D19442CE-F5D4-4C3A-922B-82611A448624@dsl-only.net>

next in thread | raw e-mail | index | archive | help
Context: projects/clang380-import based amd64 FreeBSD used to try =
building for powerpc64

In csu/powerpc64/Makefile I replaced:

> CFLAGS+=3D        -I${.CURDIR}/../common \
>                 -I${.CURDIR}/../../libc/include \
>                 -mlongcall
. . .
> CC:=3D            gcc
> COMPILER_TYPE:=3D gcc

with

> CFLAGS+=3D        -I${.CURDIR}/../common \
>                 -I${.CURDIR}/../../libc/include \
>                 -mlong-calls
. . .
> #CC:=3D            gcc
> #COMPILER_TYPE:=3D 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.)


=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D19442CE-F5D4-4C3A-922B-82611A448624>