EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: PPC compiler splits up ints & shorts?
From: "Laznovsky, Michael" <[email protected]>
To: <[email protected]>
Date: Thu, 30 Sep 2004 10:49:10 -0700
Hi again- now that I know it's the "-mstrict-align" that's causing the
byte operations, I still have 2 questions...

1) I see that this switch is provided by EPICS/base/config/CONFIG.Vx.mv2400:

	ARCH_DEP_CFLAGS = -mcpu=604 --no-builtin -mstrict-align -mlongcall

   What's the proper way to override this in a local work area config directory?

2) What switch (or lack of) does this compiler need to turn this feature off?
   A quick naive test of re-running just the gmake-generated ccpcc command without
   the mstrict switch makes the assembly phase barf, though I'm easily convinced
   that this may be due to the lack of proper environment caused by running it
   in isolation:

		as: error: unknown option 'p'
		as: error: unknown option 'p'
		usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
		          [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
		          [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
		          [-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xar\
ch=v8plusb]  [-xarch=v9] [-xarch=v9a] [-xarch=v9b]  [-xcode={pic13,pic32}] file.s...

thanks,
Mike


Replies:
RE: PPC compiler splits up ints & shorts? Steven Hartman
Re: PPC compiler splits up ints & shorts? Andrew Johnson

Navigate by Date:
Prev: Re: TRAPWRITE does not log settings made with ca_put_callback Andrew Johnson
Next: RE: PPC compiler splits up ints & shorts? Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: PPC compiler splits up ints & shorts? Lawrence T. Hoff
Next: RE: PPC compiler splits up ints & shorts? Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024