MorphOS SDK 3.2 and no-altivec
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 453 from 2003/7/26
    From: Wroclaw/Poland
    After installation of MorphOS SDK 3.2 when I try compile using NoAltivec option:
    g++ -O0 -noixemul -traditional-cpp -mcpu=powerpc -mno-altivec -c -o o/gcc-morphos-stable/main.o main.cpp
    I get:
    cc1plus: Invalid option `no-altivec'

    Previous version of MOS SDK has no problem with no-altivec.


    Could someone tell me if I used -mcpu=740 (-mcpu=G3 doesn't work too), the binary would work on machines without AltiVec?

    [ Edited by MDW 12.01.2013 - 11:47 ]
  • »12.01.13 - 09:07
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Tom01
    Posts: 179 from 2009/9/20
    Are you shure that the compiler generates Altivec instructions with -mcpu=powerpc?
    I don'tthink so.
  • »12.01.13 - 12:01
    Profile Visit Website
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 453 from 2003/7/26
    From: Wroclaw/Poland
    Problem has already been solved. After update SDK my default compiler was set to GCC 2.95.x. I forgot set 4.4.5 again. :)
  • »12.01.13 - 15:09
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Tom01
    Posts: 179 from 2009/9/20
    But you don't need -mno-altivec because it is default.
  • »12.01.13 - 15:59
    Profile Visit Website