Downloaded PowerPC cross compiler tool chain for LINUX, trying to compile - error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    Downloaded PowerPC cross compiler tool chain for LINUX, trying to compile - error

    Downloaded PowerPC cross compiler tool chain for LINUX, trying to compile C / CPP file, I am getting "Floating Point exception" to compile any file, no problem with regular GCC. any idea why I am getting "floating point exception"?.
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    #2
    powerpc-linux-cc -Wall -g -O2 -I. -Iinclude -c -fPIC Server.c
    make: *** [Server.o] Floating point exception


    powerpc-linux-gcc -Wall -g -O2 -I. -Iinclude -c -fPIC Server.c
    make: *** [Server.o] Floating point exception

    Comment

    • tvnaidu
      Contributor
      • Oct 2009
      • 365

      #3
      I just found, if I give single command also, I am getting, does installation have any issue?. I just followed README.


      $ powerpc-linux-cc
      Floating point exception

      $ powerpc-linux-gcc
      Floating point exception

      Comment

      Working...