Summary: | [NEW PORT] lang/cloudabi-clang | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ed Schouten <ed> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Ed Schouten
![]() ![]() Created attachment 157882 [details]
Shell archive of lang/cloudabi-clang
Disregard the previously posted shell archive. It turns out that although the Clang binaries worked fine to compile freestanding CloudABI applications, they failed to include any header files installed in the include directory.
The updated port adds an additional symbolic link, so that Clang is able to find its resources and include standard header files properly.
Sent out a code review: https://reviews.freebsd.org/D2885 Will close this bug once I got the approval. Whoops. Accidentally closed it. Submitted as r390358. A commit references this bug: Author: ed Date: Tue Jun 23 08:38:02 UTC 2015 New revision: 390358 URL: https://svnweb.freebsd.org/changeset/ports/390358 Log: Add cloudabi-clang. This port adds the necessary symbolic links to make Clang work as a cross compiler for CloudABI. Clang can automatically derive its target from argv[0]. We don't need to install another copy of Clang. It is sufficient to invoke it the right way. CloudABI support is not yet part of a released version of Clang. This is why we still need to depend on llvm-devel. My intent is to stick to a fixed compiler version at one point in time. PR: 200954 Differential Revision: https://reviews.freebsd.org/D2885 Approved by: bapt Changes: head/lang/Makefile head/lang/cloudabi-clang/ head/lang/cloudabi-clang/Makefile head/lang/cloudabi-clang/pkg-descr |