| Anonymous | Login | Signup for a new account | 2013-05-21 22:58 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0005552 | OCaml | OCaml general | public | 2012-03-21 19:43 | 2012-03-27 16:32 | |||
| Reporter | mottl | |||||||
| Assigned To | doligez | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | Mac | OS | Mac OS X | OS Version | 10.7.3 | |||
| Product Version | 3.12.1 | |||||||
| Target Version | Fixed in Version | 4.00.0+dev | ||||||
| Summary | 0005552: Unrecognized gcc option | |||||||
| Description | On Mac OS X I get the following error when compiling C-files with OCaml: gcc: unrecognized option '-no-cpp-precomp' This flag is passed implicitly to gcc by the OCaml compiler. The configure script in the OCaml distribution apparently decides to always pass this flag on any "Darwin" platform, because it is required by Apple's version of gcc. However, sometimes developers may use a different version of gcc than shipped by Apple (e.g. from MacPorts, etc.). Could you please refine the compiler configuration so that this flag is only passed when really needed? Thanks! | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0007163) lefessan (developer) 2012-03-26 14:36 |
Damien is going to investigate this issue. |
|
(0007196) doligez (manager) 2012-03-27 16:32 |
A bit of investigation reveals that this flag stopped being useful at some point before 2008 (probably in 2005). In the current version of Apple's gcc, it is not even documented anymore, but still silently ignored. I have patched "configure" to remove this flag. Fixed in 4.00 (commit 12282) and trunk (commit 12283) |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-03-21 19:43 | mottl | New Issue | |
| 2012-03-26 14:36 | lefessan | Note Added: 0007163 | |
| 2012-03-26 14:36 | lefessan | Assigned To | => doligez |
| 2012-03-26 14:36 | lefessan | Status | new => acknowledged |
| 2012-03-27 16:32 | doligez | Note Added: 0007196 | |
| 2012-03-27 16:32 | doligez | Status | acknowledged => closed |
| 2012-03-27 16:32 | doligez | Resolution | open => fixed |
| 2012-03-27 16:32 | doligez | Fixed in Version | => 4.00.0+dev |
| Copyright © 2000 - 2011 MantisBT Group |