View previous topic :: View next topic |
Author |
Message |
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Mon Jul 22, 2013 2:20 pm Post subject: How to get libgfortran.so.1.0.0 |
|
|
Hi
We have a software which apparently requires libgfortran.so.1.0.0
As far as i could find out, this used to be installed with gcc-4.1.2
But when i try to emerge gcc-4.1.2 this fails with Code: |
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/crtfastmath.c:1: error: bad value (native) for -march= switch
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/crtfastmath.c:1: error: bad value (native) for -mtune= switch
|
(i have gcc-4.7.1 as active compiler)
Indeed, my make.conf contains "native" Code: |
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
|
What should i use for CFLAGS to make gcc-4.1.2 compile?
After emerging gcc-4.1.2, can i go back to the original value of the CFLAGS?
Or is there another way to get libgfortran?
Thank You
Jody |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Mon Jul 22, 2013 2:30 pm Post subject: |
|
|
Code: | echo "int main() { return 0; }" |LANG=en gcc -march=native -v -Q -x c - 2>&1 | tr " " "\n" | grep -m1 "^-march" | ? _________________ sorry my bad english |
|
Back to top |
|
|
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Mon Jul 22, 2013 2:34 pm Post subject: |
|
|
Quote: | Code: | echo "int main() { return 0; }" |LANG=en gcc -march=native -v -Q -x c - 2>&1 | tr " " "\n" | grep -m1 "^-march" |
|
This returns
|
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Mon Jul 22, 2013 2:41 pm Post subject: |
|
|
4.1 don't support so new cpu...
you can use one of Quote: | i386
Original Intel's i386 CPU.
i486
Intel's i486 CPU. (No scheduling is implemented for this chip.)
i586, pentium
Intel Pentium CPU with no MMX support.
pentium-mmx
Intel PentiumMMX CPU based on Pentium core with MMX instruction set support.
i686, pentiumpro
Intel PentiumPro CPU.
pentium2
Intel Pentium2 CPU based on PentiumPro core with MMX instruction set support.
pentium3, pentium3m
Intel Pentium3 CPU based on PentiumPro core with MMX and SSE instruction set support.
pentium-m
Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2 instruction set support. Used by Centrino notebooks.
pentium4, pentium4m
Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.
prescott
Improved version of Intel Pentium4 CPU with MMX, SSE, SSE2 and SSE3 instruction set support.
nocona
Improved version of Intel Pentium4 CPU with 64-bit extensions, MMX, SSE, SSE2 and SSE3 instruction set support. | http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
i686, i think.. _________________ sorry my bad english |
|
Back to top |
|
|
jody l33t
Joined: 16 Oct 2007 Posts: 668 Location: Switzerland
|
Posted: Mon Jul 22, 2013 2:47 pm Post subject: |
|
|
Thank You for the information.
Is there perhaps another way to get libgfortran.so.1.0.0?
Jody |
|
Back to top |
|
|
|