William Coleda wrote:


Patrick R. Michaud wrote:


P6GE assumes that it is part of the parrot distribution in the F<compilers/p6ge> directory. Simply type C<make> in this directory
to build the F<p6ge.so> shared library it needs.

cc -shared -fpic p6ge_parse.o p6ge_gen.o p6ge_parsep5.o -o p6ge.so cc: unrecognized option `-shared' ld: Undefined symbols: _main make: *** [p6ge.so] Error 1

$ uname -a
Darwin Althalus.local 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc


$ cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)


That's Mac OS X 10.3.6 'Panther' by the way. I have no idea why GCC's not accepting -shared, that came as quite a shock. I'm hoping there's someone around who knows more about Apple's GCC on Darwin than I do, because my experience is largely limited to using it through XCode for Objective-C stuff.


Well done on getting a grammar engine going though. Things are looking up :-)




Reply via email to