Subject: |
Re: [Merge] lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base |
From: |
mdavidsaver <[email protected]> |
To: |
Jeff Hill <[email protected]> |
Date: |
Thu, 11 Aug 2011 14:47:11 -0000 |
On 8/11/2011 10:06 AM, Jeff Hill wrote:
> I don't know how you can determine what that is. On RHEL I tried "g++
> --dumpspecs" but this doesn't appear to reveal any clues.
From a Debian 6.0 system. The __i586__ indicates -march=i586
> $ touch empty.c
> $ cpp -dM empty.c | grep 86
> #define __i586 1
> #define __DBL_MAX__ 1.7976931348623157e+308
> #define __i386 1
> #define __i586__ 1
> #define __i386__ 1
> #define i386 1
Note "--target=i486-linux-gnu" is what usually selects this. Debian
also gives "--with-arch-32=i586" which overrides this.
> $ gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian
> 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --program-suffix=-4.4 --enable-shared --enable-multiarch
> --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix
> --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib
> --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
> --enable-objc-gc --enable-targets=all --with-arch-32=i586
> --with-tune=generic --enable-checking=release --build=i486-linux-gnu
> --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.4.5 (Debian 4.4.5-8)
I checked a Fedora Core 12 system and it has __i686__
> $ cpp -dM ~/empty.c |grep 86
> #define __i686 1
> #define __DBL_MAX__ 1.7976931348623157e+308
> #define __i686__ 1
> #define __i386 1
> #define __i386__ 1
> #define i386 1
Unfortunately I don't have easy access to older versions or RHEL.
--
https://code.launchpad.net/~epics-core/epics-base/epicsR3.15-atomics/+merge/70642
Your team EPICS Core Developers is requested to review the proposed merge of lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base.
- References:
- Re: [Merge] lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base Jeff Hill
- Navigate by Date:
- Prev:
Re: [Merge] lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base Jeff Hill
- Next:
Re: [Merge] lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base Jeff Hill
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: [Merge] lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base Jeff Hill
- Next:
Re: [Merge] lp:~epics-core/epics-base/epicsR3.15-atomics into lp:epics-base Jeff Hill
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|