dtc build failures on OS X
David Gibson
david at gibson.dropbear.id.au
Thu May 21 09:08:23 EST 2009
On Wed, May 20, 2009 at 02:38:49PM +0200, Segher Boessenkool wrote:
>> I'm trying to build dtc on Mac OS X. The compilation seems to go
>> okay, but the linker dies.
>
> It doesn't die, it just complains ;-)
>
> You're trying to build a Linux shared library on OSX. This won't
> work. Not only are the command line options not the same, the
> semantics are totally different as well; importantly, the versioning
> mechanism is very different. Given that, you do not want to use
> a shared library at all -- just use a normal (static) library.
> IMNSHO that should be the default, on Linux as well...
It was, originally, but someone wanted a shared lib.
Actually, the current Makefile builds both, by default.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the devicetree-discuss
mailing list