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: GNU binutils-2.16.1 chokes on empty libraries, MacOSX ar too

Re: GNU binutils-2.16.1 chokes on empty libraries, MacOSX ar too

From: Frederic Devernay <frederic.devernay_at_m4x.org>
Date: 2006-04-26

Hi again,

FYI, this is easily fixed (just tried it) by putting an empty dummy.c in each
bitmaps dir, and inserting a "dummy.c" line at the top of each SOURCES files in
the same dirs.

fred

Frederic Devernay wrote:
> Hi,
> I just tried to compile rockbox on Mac OS X (mine is intel), and got the
> following issues: binutils 2.16.1 m68k-elf-ld doesn't like empty
> libraries (libbitmapsmono.a and libbitmapsremotemono.a are empty for an
> H120 build).
>
> Similarly, when building a simulator (only the core works on Mac OS X,
> dynamic objects handling has to be rewritten), the Mac OS X "ar" chokes
> on building empty libraries (GNU "ar" doesn't complain).
>
> Conclusion, those libraries should not be built and linked against if
> they're empty. Has anybody already solved this problem?
>
> Fred
>
>
Received on Wed Apr 26 16:23:27 2006


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