#5847: Update GMP-ECM to 6.3
-------------------------+--------------------------------------------------
Reporter: mabshoff | Owner: leif
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6.1
Component: packages | Resolution:
Keywords: | Author: Mike Hansen, Leif Leonhardy, Jeroen
Demeyer
Upstream: N/A | Reviewer: Leif Leonhardy, Dima Pasechnik
Merged: | Work_issues:
-------------------------+--------------------------------------------------
Comment(by leif):
Replying to [comment:81 jdemeyer]:
> Replying to [comment:78 leif]:
> > `gcc -v -march=native` should be sufficient, since the preprocessor
also needs to know about it.
>
> No, that's not sufficient to test it, it does not run the preprocessor.
>
> If you want to run to preprocessor, the following works:
{{{
gcc -march=native -E -x c /dev/null -o /dev/null
}}}
`gcc -march=... -dM -E -x c /dev/null` e.g. outputs the definitions of
predefined macros like `__i386__`, `__core2__`, `__SSE2__` etc.
[[BR]]
> Using this test, {{{-march=native}}} works for me on gcc 4.2.3, NOT on
gcc 4.0.3
Thanks, I use:
{{{
#!sh
if touch foo.c && $CC -march=native -c foo.c &>/dev/null; then
...
fi
rm -f foo.*
}}}
Funny: GCC 4.3.3 and 4.4.3 don't build GCC 4.0.1 on Ubuntu 9.04 or
10.04... ;-)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5847#comment:82>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.