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

Subject: compile EPICS base on Mac OS (Snow Leopard) using GCC from macport
From: "Shen, Guobao" <[email protected]>
To: "'tech-talk'" <[email protected]>
Date: Thu, 08 Nov 2012 17:16:40 -0500
Hi,
Is there anyone succeeded using GCC tool chain to compile EPICS?

It looks like that macport version of GCC swallowed the option "arch", and I got a error like:
gcc -c -DUNIX -Ddarwin -O3 -g -Wall -arch x86_64 -fno-common -fPIC -MMD -I. -I../O.Common -I. -I../../../src/libCom/osi/os/Darwin -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/freeList -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/Darwin -I../../../include -I/opt/local/include -I/sw/include ../../../src/libCom/bucketLib/bucketLib.c
gcc: error: x86_64: No such file or directory
gcc: error: unrecognized option '-arch'
gmake[3]: *** [bucketLib.o] Error 1

However, there is no problem with the tool chain coming with XCode.

Thanks,

Guobao

Replies:
Re: compile EPICS base on Mac OS (Snow Leopard) using GCC from macport Andrew Johnson

Navigate by Date:
Prev: Re: Problems sending \x0 with devGpib driver Eric Norum
Next: Re: compile EPICS base on Mac OS (Snow Leopard) using GCC from macport Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS Position Available careers
Next: Re: compile EPICS base on Mac OS (Snow Leopard) using GCC from macport Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·