Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005210OCamlOCaml generalpublic2011-01-25 19:102013-10-08 15:22
Reporterdra 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version3.12.0 
Target VersionFixed in Version 
Summary0005210: Additional options to control link libraries in OCaml's configure script
DescriptionIt 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 InformationUnified diff attached
Tagspatch
Attached Filespatch file icon ocaml-3.12.0.patch [^] (2,718 bytes) 2011-01-25 19:10 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker