Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Rockbox and GCC 3.4.0
From: Magnus Holmgren (lear_at_algonet.se)
Date: 2004-05-09


Hi,

Did a fresh CVS checkout and tried to build Rockbox using GCC 3.4.0. I
then get warnings and errors like these:

drivers/ata.c:864: warning: asm operand 0 probably doesn't match constraints
drivers/ata.c:868: warning: asm operand 0 probably doesn't match constraints
drivers/ata.c:864: error: impossible constraint in `asm'
drivers/ata.c:868: error: impossible constraint in `asm'

If I change the and_b and or_b macros in system.h to use the constraint
"I08" rather than "I" (plain "I" doesn't seem to be supported in 3.4.0),
it compiles just fine.

(Similar problems exists in drivers/lcd.c.)

-- 
Magnus Holmgren

_______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa