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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: epics on beaglebone
From: D Peter Siddons <[email protected]>
To: Mark Rivers <[email protected]>, "Mooney, Tim M." <[email protected]>, EPICS <[email protected]>
Date: Sun, 23 Feb 2014 17:01:52 -0500
Hi Mark,
  Right, as usual :) I put a CCC = g++ in one of the config files and now it compiles c++ files.

Next problem:

ar   libCom.a         bucketLib.o epicsRingPointer.o epicsRingBytes.o postfix.o calcPerform.o cvtFast.o resourceLib.o epic
sOnce.o epicsSingletonMutex.o dbmf.o ellLib.o envSubr.o envData.o errlog.o errSymLib.o errSymTbl.o fdmgr.o fdManager.o fre
eListLib.o gpHashLib.o iocsh.o registry.o libComRegister.o iocLog.o logClient.o macCore.o macEnv.o macUtil.o aToIPAddr.o a
djustment.o cantProceed.o epicsConvert.o epicsExit.o epicsStdlib.o epicsString.o truncateFile.o ipAddrToAsciiAsynchronous.
o epicsUnitTest.o epicsThread.o epicsMutex.o epicsEvent.o epicsTime.o epicsMessageQueue.o epicsMath.o epicsGeneralTime.o o
siClockTime.o osdSock.o osdSockAddrReuse.o osiSock.o systemCallIntMech.o epicsSocketConvertErrnoToString.o osdAssert.o osd
FindSymbol.o osdInterrupt.o osdPoolStatus.o osdSignal.o osdEnv.o epicsReadline.o epicsTempFile.o epicsStdio.o osdStdio.o o
sdThread.o osdMutex.o osdEvent.o osdTime.o osdProcess.o osdNetIntf.o osdMessageQueue.o devLibVME.o devLibVMEOSD.o taskwd.o
 epicsTimer.o timer.o timerQueue.o timerQueueActive.o timerQueueActiveMgr.o timerQueuePassive.o tsDefs.o
ar: illegal option -- C

What is wrong with the above?
Pete.


On 02/23/2014 03:14 PM, Mark Rivers wrote:

Hi Pete,

 

I think the difference is that it worked to compile a .c file, it fails to compile a .cpp file.

 

I suspect the configuration of the command to use for C++ compiling in base/configure/os/YOUR_ARCH is incorrect.

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of D Peter Siddons
Sent: Sunday, February 23, 2014 2:11 PM
To: Mooney, Tim M.; EPICS
Subject: Re: epics on beaglebone

 

Hi Tim,
  Here's some support for my theory. Another snippet shows that occasionally it doesn't get truncated. First one is, second one isn't.

c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_ARM_NWFP_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_R
EENTRANT                 -I. -I../O.Common -I. -I../../../src/libCom/osi/os/Linux -I../../../src/libCom/osi/os/posix -I../../
../src/libCom/osi/os/default -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../
../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../.
./src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/f
reeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh -I../../../src/libCom/logClient -I../../../src/libCom/macLib
 -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src
/libCom/tsDefs -I../../../include/os/Linux -I../../../include        ../../../src/libCom/osi/os/posix/osdTime.cpp
make[3]: c: Command not found
make[3]: [osdTime.o] Error 127 (ignored)

cc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_ARM_NWFP_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT                 -I. -I../O.Common -I. -I../../../src/libCom/osi/os/Linux -I../../../src/libCom/osi/os/posix -I..
/../../src/libCom/osi/os/default -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -
I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../
../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libC
om/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh -I../../../src/libCom/logClient -I../../../src/libCom/ma
cLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../..
/src/libCom/tsDefs -I../../../include/os/Linux -I../../../include        ../../../src/libCom/osi/os/default/osdNetIntf.c

On 02/23/2014 01:33 PM, Mooney, Tim M. wrote:

Hi Pete,

 

I don't know anything about Beaglebone, but this just looks wrong.

Is the C compiler executable on Beaglebone really named "c", and not, say, "cc" or "gcc"?

 

Tim


From: [email protected] [[email protected]] on behalf of D Peter Siddons [[email protected]]
Sent: Sunday, February 23, 2014 11:45 AM
To: EPICS
Subject: epics on beaglebone

I want to install EPICS on a Beaglebone board. I simply copied the working install of 3.14.12.2 from my laptop to the Beaglebone, added configs for linux-armv7l, did a make clean uninstall and make. I think there must be some buffer issues with either bash or make, since the compile statements are truncated: see the attached screenshot. Anyone else installed EPICS on Beaglebone? SOme versions info below.
THanks,
Pete.

/usr/local/epics# uname -a
Linux beaglebone 3.2.28 #1 Tue Sep 11 13:08:30 CEST 2012 armv7l GNU/Linux

/usr/local/epics# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.4/lto-wrapper
Target: arm-angstrom-linux-gnueabi
Configured with: /home/koen/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work-shared/gcc-4.5-r49+svnr1849t
Thread model: posix
gcc version 4.5.4 20120305 (prerelease) (GCC)

/usr/local/epics# make -v
GNU Make 3.82
Built for arm-angstrom-linux-gnueabi
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.



-------- Original Message --------

Subject:

beagle screenshot

Date:

Sun, 23 Feb 2014 12:36:46 -0500

From:

Siddons, David <[email protected]>

To:

Siddons, David <[email protected]>

 

 



-- 
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973
 
email: [email protected]
Phone: (631) 344-2738

 

 



-- 
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973
 
email: [email protected]
Phone: (631) 344-2738

-- 
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: [email protected]
Phone: (631) 344-2738

Replies:
RE: epics on beaglebone Mark Rivers
RE: epics on beaglebone Mark Rivers
References:
epics on beaglebone D Peter Siddons
RE: epics on beaglebone Mooney, Tim M.
Re: epics on beaglebone D Peter Siddons
RE: epics on beaglebone Mark Rivers

Navigate by Date:
Prev: RE: epics on beaglebone Mark Rivers
Next: RE: epics on beaglebone Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: epics on beaglebone Mark Rivers
Next: RE: epics on beaglebone Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·