Rockbox mail archiveSubject: 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: Wed, 26 Apr 2006 16:21:47 +0200
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 2006-04-26