[sldev] Linux non-x86 SSE build script
Paul TBBle Hampson
Paul.Hampson at Pobox.com
Sun Aug 5 03:14:17 PDT 2007
Hi,
Just preparing the 1.18.1.2 Debian packages, I've come across an issue
where the build script now tries to build certain files with -msse
-mfpmath=sse or -msse2 -mfpmath=sse.
I was just wondering what the plan to move forward with this is, given
that gcc won't accept those flags on non-x86 architectures, which to my
mind implies this probably wouldn't have built on PowerPC Mac OS X
or Sparc Solaris either.
I'm considering just throwing #ifdefs around the code that uses the SSE
and SSE2, and then doing some kind of surgery to SConstruct to ignore
the _sse.cpp and _sse2.cpp files on non-x86.
But I was hoping there's some kind of upstream plan to fix this, to save
me duplicating any work here.
Of course, if anyone on-list's already solved this, I'm interested in
patches too. ^_^
It's also worth keeping in mind that eventually we could end up with a
Sparc Linux port, if someone wants one. (Really, it'lll simply be some
junction of the Sparc Solaris port and the PowerPC Linux port...)
I haven't put anything in Jira about this yet, I'm hoping to get the lay
of the land first.
--
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
On-hiatus Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com
Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
-- Kristian Wilson, Nintendo, Inc, 1989
License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070805/6b5c754b/attachment.pgp
More information about the SLDev
mailing list