Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Building JCA1
From: Janet Anderson <jba@aps.anl.gov>
To: John Faucett <faucett@lanl.gov>
Cc: tech-talk@aps.anl.gov
Date: Thu, 05 Jan 2006 12:43:32 -0600
John Faucett wrote:
I'm installing JCA1 on Linux to support existing Java applications. The binary distribution of libjca.so is 124870 in size and works. If I compile it from sources, it comes out with a size of 19330 and doesn't work. Since I need to make a small change to the source, I need to be able to build libjca.so from sources. Does anyone know what switches are used to compile the binary distribution's library?

John Faucett
Los Alamos National Laboratory


On linux


when building libjca.so with R3.14.8 base my compile line is

gcc -ansi -D_POSIX_C_SOURCE=199506L -O3 -Wall -Wtraditional -Wmissing-prototypes -Wstrict-prototypes -D_X86_ -Dlinux -fPIC -D_REENTRANT -DUNIX -D_BSD_SOURCE -I. -I.. -I/usr/java/j2sdk1.4.1/include -I/usr/java/j2sdk1.4.1/include/linux -I../../jca -I../../../../include/os/Linux -I../../../../include -I/usr/local/iocapps/R3.14.8/base/3-14-8-asd1/include/os/Linux -I/usr/local/iocapps/R3.14.8/base/3-14-8-asd1/include -c ../ca.c


when building with R3.13.10 base my compile line is


gcc -O -Wall -D_X86_ -Dlinux -DUNIX -I. -I.. -I/usr/java/j2sdk1.4.1/include -I/usr/java/j2sdk1.4.1/include/linux -I../../jca -I../../../../include -I../../../../include/os/Linux -I/usr/local/iocapps/R3.13.10/support/base/3-13-10-asd1/include/os/Linux -I/usr/local/iocapps/R3.13.10/support/base/3-13-10-asd1/include -fPIC -c ../ca.c

Janet
References:
Building JCA1 John Faucett

Navigate by Date:
Prev: Re: Variable scan rate Maren Purves
Next: Re: Variable scan rate Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Filling up epics queue / Multi threading on linux Tim Mooney
Next: RE: Variable scan rate Dalesio, Leo `Bob`
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·