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
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.
Frederic Devernay wrote:
> 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?
Received on Wed Apr 26 16:23:27 2006
Page was last modified "Jan 10 2012" The Rockbox Crew