It was a problem with having an older gcc version than what I supposed I
had. Did an update and got rid of that first error.
However, now it produces the following error:
In file included from /usr/include/secure/_stdio.h:
31:0,
from /usr/include/stdio.h:499,
from
/Users/Matti/ATS-Postiats/ccomp/runtime/pats_ccomp_memalloc_libc.h:38,
from
/Users/Matti/ATS-Postiats/ccomp/runtime/pats_ccomp_memalloc.h:64,
from atscc_print_dats.c:16:
/Users/Matti/ATS-Postiats/prelude/CATS/integer.cats:145:5: error: expected
declaration specifiers or ‘…’ before ‘__builtin_object_size’
int snprintf
^
make[1]: *** [patscc] Error 1
make: *** [utl_atscc] Error 2
More in the attachment.
maanantai, 30. syyskuuta 2013 5.27.55 UTC+3 gmhwxi kirjoitti:
I think that snprintf is defined as a macro in MAC OS. So I commented out
its declaration in integer.cats. Please get the newest package and try
again.On Monday, September 30, 2013 4:22:56 AM UTC-4, Mviljamaa wrote:
Thanks.
It was a problem with having an older gcc version than what I supposed I
had. Did an update and got rid of that first error.
However, now it produces the following error:
In file included from /usr/include/secure/_stdio.h:
31:0,
from /usr/include/stdio.h:499,
from
/Users/Matti/ATS-Postiats/ccomp/runtime/pats_ccomp_memalloc_libc.h:38,
from
/Users/Matti/ATS-Postiats/ccomp/runtime/pats_ccomp_memalloc.h:64,
from atscc_print_dats.c:16:
/Users/Matti/ATS-Postiats/prelude/CATS/integer.cats:145:5: error: expected
declaration specifiers or ‘…’ before ‘__builtin_object_size’
int snprintf
^
make[1]: *** [patscc] Error 1
make: *** [utl_atscc] Error 2
More in the attachment.
maanantai, 30. syyskuuta 2013 5.27.55 UTC+3 gmhwxi kirjoitti:
In general, if the default setting does not work out, please try the
no-GC option by setting GCFLAG to -D_ATS_NGC.
Please try
make CCOMP=gcc GCFLAG=-D_ATS_NGC all
It should work.
On Sunday, September 29, 2013 10:18:19 PM UTC-4, Mviljamaa wrote:
“make all” fails on Mac OS X 10.8 with the following lines:
Hello from ATS/Postiats!
make[1]: *** [patscc_dats.c] Bus error: 10
make[1]: *** Deleting file `patscc_dats.c’
make: *** [utl_atscc] Error 2
Help?
Full build messages can be read from the attached text file.