Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: vxWorks 6.8 and "#define _VSB_CONFIG_FILE"
From: "Jeff Hill" <johill@lanl.gov>
To: "'Ernest L. Williams Jr.'" <ernesto@slac.stanford.edu>
Cc: "'EPICS core-talk'" <core-talk@aps.anl.gov>
Date: Mon, 12 Sep 2011 12:16:48 -0600
Ernest,

I think that that change was made by Andrew.

Jeff
______________________________________________________
Jeffrey O. Hill           Email        johill@lanl.gov
LANL MS H820              Voice        505 665 1831
Los Alamos NM 87545 USA   FAX          505 665 5107

Message content: TSPA

With sufficient thrust, pigs fly just fine. However, this is
not necessarily a good idea. It is hard to be sure where they
are going to land, and it could be dangerous sitting under them
as they fly overhead. -- RFC 1925


> -----Original Message-----
> From: Ernest L. Williams Jr. [mailto:ernesto@slac.stanford.edu]
> Sent: Monday, September 12, 2011 11:01 AM
> To: Jeff Hill
> Cc: EPICS core-talk
> Subject: vxWorks 6.8 and "#define _VSB_CONFIG_FILE"
> 
> Hi Jeff,
> 
> Looks like you added the following to some files in EPICS BASE R3-14-12
> 
> #define _VSB_CONFIG_FILE <../lib/h/config/vsbConfig.h>
> 
> This did not work globally as I received many warning messages.
> 
> ====== snippet of src/libCom/osi/os/vxWorks/osdProcess.c ====
> /*************************************************************************
> \
> * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
> *     National Laboratory.
> * Copyright (c) 2002 The Regents of the University of California, as
> *     Operator of Los Alamos National Laboratory.
> * EPICS BASE is distributed subject to a Software License Agreement found
> * in file LICENSE that is included with this distribution.
> \*************************************************************************
> /
> 
> /*
>  * Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
>  *
>  * Operating System Dependent Implementation of osiProcess.h
>  *
>  * Author: Jeff Hill
>  *
>  */
> 
> /* This is needed for vxWorks 6.8 to prevent an obnoxious compiler
> warning */
> #define _VSB_CONFIG_FILE <../lib/h/config/vsbConfig.h>
> 
> ==== End snippet src/libCom/osi/os/vxWorks/osdProcess.c ================
> 
> 
> ++++++++++++++++++++++++++++++++++++++
> 
> The best place to put this would be in vxWorksCommon??
> 
> For now, I have placed it in one of my target config files.
> I have attached for your reference.
> 
> ===== CONFIG.Common.vxWorks-pentium4 =====
> # CONFIG.Common.vxWorks-pentium4
> #
> # Revision-Id:
> # This file is maintained by the build community.
> #
> # Definitions for vxWorks-pentium4 target archs
> # Sites may override these definitions in
> CONFIG_SITE.Common.vxWorks-pentium4
> #-------------------------------------------------------
> 
> # Include definitions common to all vxWorks target archs
> include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
> 
> #
> ==========================================================================
> ============
> # Define "VSB_DIR" and "VXB_CONFIG_FILE" to get rid of warning message
> in vxWorks 6.8
> #
> ==========================================================================
> ============
> VSB_DIR=$(WIND_BASE)/vxworks-6.8/target/lib
> #
> ==========================================================================
> ===========
> 
> # Vx GNU cross compiler suffix
> CMPLR_SUFFIX = pentium
> 
> ARCH_CLASS = pentium
> 
> ARCH_DEP_CPPFLAGS = -DCPU=PENTIUM4 -D_X86_ -D_WRS_KERNEL -MD -MP
> ARCH_DEP_CPPFLAGS += -
> D_VSB_CONFIG_FILE=\"$(VSB_DIR)/h/config/vsbConfig.h\"
> ARCH_DEP_CFLAGS += -mtune=pentium4 -march=pentium4
> ARCH_DEP_CXXFLAGS += -x 'c++'
> ARCH_DEP_CFLAGS += -fno-defer-pop -nostdlib
> ==========================================================================
> ==================
> 
> 
> Cheers,
> Ernest



Replies:
Re: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Ernest L. Williams Jr.
References:
vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Ernest L. Williams Jr.

Navigate by Date:
Prev: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Ernest L. Williams Jr.
Next: Re: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Ernest L. Williams Jr.
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Ernest L. Williams Jr.
Next: Re: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Ernest L. Williams Jr.
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·