This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2.1] Use long for mantissa for generic mp code

On 03/15/2013 05:00 PM, Richard Henderson wrote:
> On 2013-03-15 10:40, Siddhesh Poyarekar wrote:
>> OK, I've totally mesed up the patch on 32-bit.  I'll revert it and 
>> work on it again next week.  There are a number of places I've
>> missed casting variables up, so I'll do some real testing on 32-bit
>> (I've got a raspberry pi that I'll try to set up) and post the
>> patch again.
> Ok.
> FWIW, while setting up testing on a pi is probably useful long-term,
> just testing with CC="gcc -m32" on x86_64 host is almost certainly
> quicker.

Oh goodness yes, please just use -m32 :-)

Here is a snippet from my bespoke build scripts:
# 32-bit builds, using experimental gcc.
export PATH="/home/carlos/install-gcc-4.8/bin:$PATH"
export CC="gcc -m32"
export CXX="g++ -m32"
export CFLAGS="-g -O2 -march=i686"
export CXXFLAGS="-g -O2 -march=i686"
export CPPFLAGS="-g -O2 -march=i686"
host="--host i686-pc-linux-gnu"
build="--build i686-pc-linux-gnu"
target="--target i686-pc-linux-gnu"

Which is enough to get you a 32-bit build and test.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]