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

Re: First public release of grammar engine

Thread Previous | Thread Next
From:
Matthew Walton
Date:
November 19, 2004 06:54
Subject:
Re: First public release of grammar engine
Message ID:
419E091B.2090200@alledora.co.uk
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 :-)



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About