develooper Front page | perl.perl6.compiler | Postings from November 2004

Re: First public release of grammar engine

Thread Previous | Thread Next
Matthew Walton
November 19, 2004 06:54
Re: First public release of grammar engine
Message ID:
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<> shared library it needs.  

cc -shared -fpic p6ge_parse.o p6ge_gen.o p6ge_parsep5.o -o
cc: unrecognized option `-shared'
ld: Undefined symbols:
make: *** [] 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 :-)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About