This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testing with multilibs?
Robert Lipe <robertlipe@usa.net> writes:
> Andreas Jaeger wrote:
>
>> x86-64 uses multilibs to support both 32-bit and 64-bit code. If I
>> run the testsuite, only the 64-bit tests are run.
>>
>> How can I test also the 32-bit code pass? What kind of magic flag do
>> I have to pass to make check for this?
>
> The recepie is double plus non-obvious, yet at one point, this Question
> was Frequently Asked.
>
> [ pause, dig, hunt, chase ]
;-)
> It still is. See:
>
> http://gcc.gnu.org/faq.html#multipletests
>
> for the basic construct.
Fine, the following seems to work for me:
make RUNTESTFLAGS="--target_board 'unix{-m32,}'" check-target-libstdc++-v3
> Signed,
> Glad To Be Out of the Business of Multilibs That Generate Different Code.
thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj