[aspectc-user] Builds for OSX?

Stefan Marr aspectc at stefan-marr.de
Tue Aug 30 16:25:02 CEST 2011


Hi:

Is there currently a way to get a working build for OSX?

I tried both the daily snapshot and the 1.0 release of the pre-woven sources.
I added TARGET=macosx-release and set CC=gcc-4.2 and CXX=g++-4.2 to make sure the normal GCC toolchain is used without LLVM stuff.

However, I don't get a working ac++.

The self-test/weaving Puma aborts with a segfault/Bus error:

Copying sources not to weave...
Weaving aspects into PrePrintVisitor.cc...
/usr/include/stdlib.h:272: error: invalid declaration near token `^'
/usr/include/stdlib.h:274: error: invalid declaration near token `^'
/usr/include/stdlib.h:301: error: invalid declaration near token `^'
/usr/include/stdlib.h:307: error: invalid declaration near token `^'
/usr/include/stdlib.h:313: error: invalid declaration near token `^'
/usr/include/stdlib.h:319: error: invalid declaration near token `^'
make[2]: *** [/Users/smarr/Projects/aspectc++/aspectc++/Puma/gen-release/step2/src/PrePrintVisitor.cc] Bus error

Since there aren't any OSX binaries anymore, I wonder whether it is still supported.
Or, is the current recommendation to use it on Linux if possible?

Thanks a lot
Stefan


-- 
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525





More information about the aspectc-user mailing list