[dylan-lang/melange] 23ae90: Linux (and FreeBSD?) were not finding all include ...
GitHub <[email protected]> Sat, 23 Jan 2016 07:41:56 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <56a39f444e618_8903fca8a99b29c101099@hookshot-fe6-cp1-prd.iad.github.net.mail> |
----==_mimepart_56a39f444e21b_8903fca8a99b29c1009b7
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Branch: refs/heads/master
Home: https://github.com/dylan-lang/melange
Commit: 23ae900568d2b3c81c85d0d0cee2931435f1a233
https://github.com/dylan-lang/melange/commit/23ae900568d2b3c81c85d0d0cee2931435f1a233
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-23 (Sat, 23 Jan 2016)
Changed paths:
M melange-core/library.dylan
M melange-core/portability-helpers.dylan
M melange-core/x86-freebsd-portability.dylan
M melange-core/x86-linux-portability.dylan
M melange-core/x86_64-linux-portability.dylan
Log Message:
-----------
Linux (and FreeBSD?) were not finding all include dirs.
In particular, on Linux x86_64, melange wasn't finding sys/cdefs.h
due to it being in /usr/include/x86_64-linux-gnu
* melange-core/portability-helpers.dylan
(get-gcc-compiler-include-directories): New function to get the
full list of directories in the gcc search path.
* melange-core/x86-freebsd-portability.dylan
(FreeBSD-include-directories): Remove. These are now found by the new
function.
* melange-core/x86-linux-portability.dylan
(linux-include-directories): Remove. These are now found by the new
function.
* melange-core/x86_64-linux-portability.dylan
(linux-include-directories): Remove. These are now found by the new
function.
* melange-core/library.dylan
(module portability): Export get-compiler-include-directories
and get-gcc-compiler-include-directories. These might be useful
and it avoids them being warned about for not being used.
----==_mimepart_56a39f444e21b_8903fca8a99b29c1009b7
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56a39f444e21b_8903fca8a99b29c1009b7--