|
Boost : |
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2007-10-20 09:18:05
Phil Endecott escribió:
> Ion Gazta?aga wrote:
>> In the working version (still in my machine) gcc builtins will be used
>> for gcc > 4.1, but I need asm implementations for gcc < 4.1 (Intel +
>> PowerPC).
>
> Hi Ion,
>
> Two (crazy!) options:
>
> - Compile with a new gcc, and ship the resulting .s files.
> Disadvantages: I doubt that the Boost build tools (etc.) are set up for
> this, and it won't let the atomic operations be inline.
>
> - Compile with a new gcc, and copy-and-paste the assembler from the
> resulting .s file into asm statements.
Good idea. The only problem is that I have no access to a PowerPC
machine (installing a cross-compiler is an option, but last time I tried
to build one in cygwin I had no success). I think this could be done
better someone that knows how to write asm (and that's not my case;-)).
If there are no volunteers, I'll try to do it myself.
Regards,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk