EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  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  <20152016  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 09:42:20 -0800
Hi all,

First: thank you all for responding so quickly.

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.

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.

For 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.

~Franklin

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


Replies:
Re: trouble building asyn driver on FreeBSD Franklin Fuller
References:
trouble building asyn driver on FreeBSD Franklin Fuller
Re: trouble building asyn driver on FreeBSD Andrew Johnson
Re: trouble building asyn driver on FreeBSD J. Lewis Muir

Navigate by Date:
Prev: Re: trouble building asyn driver on FreeBSD J. Lewis Muir
Next: Re: trouble building asyn driver on FreeBSD Franklin Fuller
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: trouble building asyn driver on FreeBSD J. Lewis Muir
Next: Re: trouble building asyn driver on FreeBSD Franklin Fuller
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·