PSPSDK -fshort-double pspDebugScreenPrintf Bug

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Machiyuta
Posts: 1
Joined: Sun Sep 11, 2005 12:43 pm

PSPSDK -fshort-double pspDebugScreenPrintf Bug

Post by Machiyuta »

Hi.
The output of pspDebugScreenPrintf becomes amusing when compiling with "- fshort-double". Will you correct this bug?
Thank you.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

No. -fshort-double breaks the ABI (it says so in the docs). This means you have to recompile any external libraries that use doubles once you specify it for your code. pspDebugScreenPrint() calls vsnprintf() which is a part of libc. You will have to recompile both libc and PSPSDK with -fshort-double.
Post Reply