1

I am trying to build libgloss but when I run make, I get a serie of message, related to a my 64 bits osx :

/libgloss/i386/cygmon-crt0.S:76:suffix or operands invalid for `push'

when I look a this file I get movl and pushl 32 bits sequences. But I don't find the right the right option to add to make in order to compile as 32 bits. Someone has an idea ? I googled it and I found some options but it didn't work (such like --32...)

mirabilos
  • 5,123
  • 2
  • 46
  • 72
epsilones
  • 11,279
  • 21
  • 61
  • 85
  • Possible duplicate of http://stackoverflow.com/questions/3501878/force-gcc-to-compile-32-bit-programs-on-64-bit-platform – mikyra Mar 25 '13 at 23:22
  • @mikyra I tried make -m32, but I get make: invalid option -- 3 – epsilones Mar 25 '13 at 23:23
  • 1
    Make won't know it, as it's not an option to make but to gcc. Most probably setting CFLAGS=-m32 is what you want to do. – mikyra Mar 25 '13 at 23:34
  • @mikyra, it seemed to work, but half a way. I get now this message : libgloss/libnosys/chown.c:15: error: expected ‘)’ before ‘(’ token, libgloss/libnosys/chown.c:7:22: error: _syslist.h: No such file or directory... Do you have an idea ? – epsilones Mar 25 '13 at 23:47
  • No, unfortunately not - I have even never heard of libgloss until today. – mikyra Mar 25 '13 at 23:57
  • Let's step back a second: Why are you trying to compile libgloss for Mac OS X? A full toolchain is already available for the platform. –  Dec 06 '13 at 21:29

0 Answers0