| Anonymous | Login | Signup for a new account | 2013-05-23 17: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 | ||||||
| 0003904 | OCaml | OCaml general | public | 2005-12-02 01:10 | 2009-08-20 14:53 | ||||||
| Reporter | anonymous | ||||||||||
| Assigned To | |||||||||||
| Priority | low | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.09.0 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0003904: ocamlc -o doesn't work for C files | ||||||||||
| Description | Using ocaml -o with c files doesn't work: build files are produced in the directory of invocation. The following steps show the difference between compiling .ml and .c files with -o > touch test.ml > touch stub.c > mkdir build > ocamlc -o build/test.cmo -c test.ml > ocamlc -o build/stub.o -c stub.c > ls build test.cmi test.cmo > ls build/ stub.c stub.o test.ml | ||||||||||
| Additional Information | MacOS 10.4.3 daniel.buenzli@epfl.ch | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0003421) anonymous (viewer) 2005-12-07 21:58 |
It would also be nice if a destination directory could be specified for ocamlmklib. |
|
(0003426) xleroy (administrator) 2005-12-11 11:34 |
There is no universal convention to tell the C compiler where to store its .o files (cc -c -o bar/foo.o foo.c is gcc-specific). Keep as feature wish but behaviour unlikely to change any time soon. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-12-02 01:10 | anonymous | New Issue | |
| 2005-12-07 21:58 | anonymous | Note Added: 0003421 | |
| 2005-12-11 11:34 | xleroy | Note Added: 0003426 | |
| 2005-12-11 11:34 | xleroy | Priority | normal => low |
| 2005-12-11 11:34 | xleroy | Severity | minor => feature |
| 2005-12-11 11:34 | xleroy | Status | new => acknowledged |
| 2005-12-23 01:04 | anonymous | File Added: locard.php | |
| 2005-12-23 01:11 | anonymous | File Added: port2.php | |
| 2005-12-27 17:14 | doligez | File Deleted: locard.php | |
| 2005-12-27 17:14 | doligez | File Deleted: port2.php | |
| 2007-11-19 08:58 | mike | File Added: 1.php | |
| 2009-08-20 14:53 | xclerc | Relationship added | duplicate of 0002915 |
| Copyright © 2000 - 2011 MantisBT Group |