Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15621] smgl-archspecs should provide native and generic for IA-32/x86-64 users

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15621] smgl-archspecs should provide native and generic for IA-32/x86-64 users
  • Date: 6 Apr 2010 07:31:56 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15621


Eric Sandall <sandalle AT sourcemage.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |sandalle AT sourcemage.org,
| |sm-grimoire-bugs AT lists.ibib
| |lio.org
AssignedTo|sm-grimoire-bugs AT lists.ibib |sandalle AT sourcemage.org
|lio.org |




--- Comment #3 from Eric Sandall <sandalle AT sourcemage.org> 2010-04-06
02:31:54 ---
Testing '-march=native -mtune=native' for ia32 and x86_64, each with it's own
native-* file. We will need a native for each architecture type to define
HOST=
for $ARCHITECTURE and $SMGL_COMPAT_ARCHS[#] support in spells.

The current format I have is:
==> 32/ia32/native-x86_64-32 <==
CPUNAME="Auto-detected x86/x86_64 architecture 32-bit mode"

if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0. || use_gcc 4.1. ; then
CFLAGS="-march=i686 -m32"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
CFLAGS="-march=native -mtune=native -m32"
fi

HOST="i686-pc-linux-gnu"
FAST="-O3"
SMALL="-Os"

==> 64/x86_64/native-x86_64-64 <==
CPUNAME="Auto-detected x86_64 architecture 64-bit mode"

if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0. || use_gcc 4.1. ; then
CFLAGS="-march=x86-64 -fPIC -DPIC -m64"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
CFLAGS="-march=native -mtune=native -fPIC -DPIC -m64"
fi

HOST="x86_64-pc-linux-gnu"
FAST="-O3"
SMALL="-Os"

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page