1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: PPC compiler splits up ints & shorts? |
From: | Andrew Johnson <[email protected]> |
To: | "Laznovsky, Michael" <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 30 Sep 2004 14:53:16 -0500 |
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:
- Andrew -- Dear God, I didn't think orange went with purple until I saw the sunset you made last night. That was really cool. - Caro