Re: compiling arts

Benjamin Reed <[email protected]> Tue, 20 Jan 2004 10:52:01 -0500
Newsgroups gmane.comp.kde.darwin
Organization DFT
Message-ID <[email protected]>
Alexey Iliyn wrote:

> Hi everyone,
> 
> I'm trying to compile arts on my machine following Wiki instructions. I
> applied mac-arts.patch and ran configure-kde from the patch. Now when I
> 'make all' I get the following error:
> 
> g++-3.3: unrecognized option `-pthreads'
> /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h: In member
> function 
>    `void Arts::TraderCheck::run()':
> /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h:65: error: `asm'
>    operand requires impossible reload
> make[2]: *** [tradercheck.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> The g++3.3 error comes up a number of times during make, actually.
> 
> Is it the option '-pthreads' causing the trouble? How do I turn it off?
> 

Hm, the only time I've seen this error is when you use -O2 when 
compiling.  configure-kde should have set it to -Os though, so I'm not 
sure what to suggest.  You could patch Makefile in that dir and see if 
it helps...

-- 
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
gpg: 6401 D02A A35F 55E9 D7DD  71C5 52EF A366 D3F6 65FE
What IS corporate fraud?  Well, corporate fraud is what happens
when cool, indie fraud loses it's cred.  -- John Stewart