From mboxrd@z Thu Jan 1 00:00:00 1970 From: Segher Boessenkool Subject: Re: dtc build failures on OS X Date: Wed, 20 May 2009 14:38:49 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Timur Tabi Cc: devicetree-discuss List-Id: devicetree@vger.kernel.org > 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... Segher