|
Rockbox mail archiveSubject: Re: Cygwin CompilerRe: Cygwin Compiler
From: Magnus Holmgren <lear_at_algonet.se>
Date: Sat, 10 Aug 2002 15:01:07 +0200 Björn Stenberg wrote: > Justin Heiner wrote: > > /home/Administrator/rockbox/build/tree.o(.text+0x1ec): undefined reference to > > `_memcmp' > > This is because you are using gcc-3.1.x instead of 3.0.4. gcc-3.1 changes calls to strncmp into memcmp behind your back. > > I haven't investigated it enough to know if there's an easier workaround than downgrading your compiler. Throwing in memcmp.c from newlib isn't hard. :) Oh, and you need to add a ro.str1.4 section as well. I put it after the existing ro.str one, and it seems to work fine. -- Magnus HolmgrenReceived on 2002-08-10 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |