1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 <2015> 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 <2015> 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: trouble building asyn driver on FreeBSD |
From: | Franklin Fuller <[email protected]> |
To: | "J. Lewis Muir" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Thu, 29 Jan 2015 17:41:14 -0800 |
~FranklinFor the time being, I'm going to try and make sure my gcc compiler is correctly linking its libraries. That seems to be the path of least resistance.That said, I have been browsing through the configuration files, trying to find where to set "CC= cc". I was trying to use the Darwin config files to guide me, but that's not really helpful because the freebsd config files don't look similar (or just link to unix defaults). So, some more guidance from you all would be needed here.Second: The main reason I chose FreeBSD was because I thought it was going to be most similar to my development platform (OS X), which apparently is using clang by default. If this turns out to be too hard, though, I may just change operating systems to one with better support.Hi all,First: thank you all for responding so quickly.On Thu, Jan 29, 2015 at 8:33 AM, J. Lewis Muir <[email protected]> wrote:On 1/29/15 9:51 AM, Andrew Johnson wrote:
> EPICS can be built with clang (I have tested that on both Mac and
> Linux), you just have to configure it properly. If new versions of
> FreeBSD now use clang by default then we should change the freebsd
> files in configure/os to assume that; you may be our only FreeBSD user
> at the moment though, so you're going to have to help me with the
> changes that are needed.
Hi, Andrew.
I think Clang is the default on i386 and amd64 as of FreeBSD 10.0:
http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036480.html
According to the description of the WITH_CLANG_IS_CC variable in the
src.conf(5) man page from the FreeBSD 10.1-RELEASE branch, Clang is the
default for "amd64/amd64, arm/arm, arm/armv6, i386/i386, and pc98/i386."
https://www.freebsd.org/cgi/man.cgi?query=src.conf
Regards,
Lewis