|Anonymous | Login | Signup for a new account||2017-10-20 16:19 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005210||OCaml||configure and build/install||public||2011-01-25 19:10||2017-01-08 10:47|
|Target Version||Fixed in Version|
|Summary||0005210: Additional options to control link libraries in OCaml's configure script|
|Description||It would be handy to be able to override the link options for libcurses, libm and pthreads for very obscure cross-compiling builds!|
The attached patch adds -curseslib, -mathlib and -pthreadlib switches to configure.
The support in -pthreadlib is possibly questionable as in my particular instance I wanted to pass the full path to libpthread.so.2 and a parameter beginning with a '/' instead of '-' is embedded into hasgot.c by the hasgot script and so causes the test for POSIX threads to fail. I therefore sort of cheated by allowing configure to test for pthreads using -pthread but then override the link options afterwards.
|Additional Information||Unified diff attached|
|Attached Files||ocaml-3.12.0.patch [^] (2,718 bytes) 2011-01-25 19:10 [Show Content]|
|@dra Please move to Github if still relevant|
It's not important to me any more (at one time I needed to be able to have an OCaml on FreeBSD which could compile to target an older version of FreeBSD using its compatibility libraries, but fortunately that hell got replaced by a Debian install...).
It might of interest to Sebastién for the autoconf stuff, but otherwise I'm happy to close this.
|2011-01-25 19:10||dra||New Issue|
|2011-01-25 19:10||dra||File Added: ocaml-3.12.0.patch|
|2011-05-17 16:46||doligez||Status||new => acknowledged|
|2013-10-08 15:22||doligez||Tag Attached: patch|
|2016-12-08 12:48||shinwell||Note Added: 0016865|
|2016-12-08 12:48||shinwell||Assigned To||=> dra|
|2016-12-08 12:48||shinwell||Status||acknowledged => assigned|
|2016-12-08 16:33||shinwell||Category||OCaml general => OCaml internal build/install (Makefiles, configure)|
|2017-01-08 10:47||dra||Note Added: 0017113|
|2017-01-08 10:47||dra||Assigned To||dra => shindere|
|2017-02-23 16:38||doligez||Category||OCaml internal build/install (Makefiles, configure) => configure and build/install|
|Copyright © 2000 - 2011 MantisBT Group|