English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Segmentation fault at process initialization
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-09-22 (18:47)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Segmentation fault at process initialization
On Mon, Sep 22, 2003 at 07:09:07PM +0200, Alessandro Baretta wrote:
> Obviously, there is some bug with the linker: and not so 
> much the caml linker as the C linker which generates the 
> custom runtime environment. Apparently, gcc's linker is very 
>  sensitive to the options it is passed (-L and -I maybe?): 
> depending on the relative order of the options, as generated 
> by the two different makefile setups, the C linker would 
> generate a functional or a buggy custom runtime.

Can you use make in a more verbose mode to find out the exact
difference between the two command lines (the one which links
properly and the one which links badly)?


Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes,
trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners