Version française
Home     About     Download     Resources     Contact us    
Browse thread
Compiling with Xcode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Whitington <john@c...>
Subject: Re: [Caml-list] Compiling with Xcode
Hi,

On 16 Mar 2009, at 13:52, Joel Reymont wrote:
> I don't think you are linking against the OCaml runtime.

That happens here, though, in the production of cpdflib.a...

>> cp /usr/local/lib/ocaml/libasmrun.a cpdflib.a;
>> ar r cpdflib.a cpdflibc.o cpdflibwrapper.o


Certainly there's no second linking with the ocaml runtime in the  
original main program compile-and-link, which works fine:

> cc -L'/usr/local/lib/ocaml' -lunix -lbigarray -lstr -lz -o test  
> cpdflibc-test.c zlibstubs.o cpdflib.a

With Thanks,

-- 
John Whitington
Coherent Graphics Ltd
http://www.coherentpdf.com/