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



Rockbox mail archive

Subject: Re: Cygwin Compiler

Re: Cygwin Compiler

From: Alex Gitelman <alex_at_fg-soup.com>
Date: Tue, 6 Aug 2002 14:06:51 -0700

I had problems with gcc 3.1. Even when I managed to compile the thing
(I used to have similar memcmp problem - which I fixed) Rockbox would
not get loaded by original firmware. Eventually I build 3.0.1 cross
compiler and it works OK. I still don't know what the problem is.
Best...
Alex


JH> I compiled the cygwin gcc and binutils to make the SH1 cross compiler under
JH> win32, and it seems to work and compiles most of the code. It dies a ways into
JH> the compile though.

JH> Here's what I get

JH> /home/Administrator/sh1/bin/../lib/gcc-lib/sh-elf/3.1.1/../../../../sh-elf/bin/l
JH> d: warning: no memory region specified for section `.rodata.str1.4'
JH> /home/Administrator/rockbox/build/tree.o: In function `_showdir':
JH> /home/Administrator/rockbox/build/tree.o(.text+0x1ec): undefined reference to
JH> `_
JH> memcmp'
JH> /home/Administrator/rockbox/build/librockbox.a(id3.o): In function
JH> `_setid3v2tit
JH> le':
JH> id3.o(.text+0x2f4): undefined reference to `_memcmp'
JH> id3.o(.text+0x3b0): undefined reference to `_memcmp'
JH> /home/Administrator/rockbox/build/librockbox.a(id3.o): In function
JH> `_getid3v2len
JH> ':
JH> id3.o(.text+0x44c): undefined reference to `_memcmp'
JH> /home/Administrator/rockbox/build/librockbox.a(id3.o): In function
JH> `_getid3v1len
JH> ':
JH> id3.o(.text+0x4b8): undefined reference to `_memcmp'
JH> collect2: ld returned 1 exit status
JH> make[1]: *** [/home/Administrator/rockbox/build/archos.elf] Error 1
JH> make[1]: Leaving directory `/home/Administrator/rockbox/apps'
JH> make: *** [apps] Error 2

JH> __________________________________________________
JH> Do You Yahoo!?
JH> Yahoo! Health - Feel better, live better
JH> http://health.yahoo.com




-- 
Best regards,
 Alex                            mailto:alex_at_fg-soup.com
Received on 2002-08-06

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy