Re: Build problem, Mac OSX

new topic     » goto parent     » topic index » view thread      » older message » newer message
bugmagnet said...

Thanks, that got me another bit further. Now I have the following

gcc  -m32  -c -Wall -DEUNIX     -fsigned-char -ffast-math -fomit-frame-pointer  -DESIMPLE_MALLOC  -DARCH=ix86   -I /Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back -I /Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/include be_decompress.c -o/Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back/be_decompress.o 
In file included from alldefs.h:2, 
                 from be_decompress.c:3: 
execute.h:225:26: error: linux/limits.h: No such file or directory 
make[2]: *** [/Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back/be_decompress.o] Error 1 
make[1]: *** [interpreter] Error 2 
make: *** [all] Error 2 

So is EOSX defined in the source somewhere or should I come in as -DEOSX ?

I now have that part of execute.h reading as

Kind regards, Bruce.

It should have come in as -DEOSX and -DEBSD in addition to -DEUNIX and I'm not sure why it didn't. Something remains unexplained here.

Still, I think we can workaround it. Try this out in execute.h:

#ifdef EUNIX 
#ifdef ELINUX 
#include <linux/limits.h> 
#else 
#include <limits.h> 
#endif 
#else 
#include <limits.h> 
#endif 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu