Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000303OCamlOCaml generalpublic2001-03-05 22:302001-03-06 17:52
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000303: On Macintosh/MPW, please don't put a full-path in camlheader
DescriptionFull_Name: Hao-yang Wang
Version: 3.00
OS: MacOS/MPW
Submission from: 95x16.filemaker.com (17.184.16.95)


The file camlheader contains a full directory path to ocamlrun . While this
might be a good practice on a multi-user environment (especially UNIX), on
Macintosh (under MPW) this causes some problems:
1) It creates nightmares in distribution, as every Macintosh users tend to name
their harddisks differently and put their MPW folders in different places.
2) Whenever somebody moves the MPW folder, rename the harddisk, etc., ocaml is
broken.

Here is my patch to remove the full-path from camlheader:

diff -cr ocaml-3.00~/stdlib/Makefile.Mac ocaml-3.00/stdlib/Makefile.Mac
*** ocaml-3.00~/stdlib/Makefile.Mac Tue Apr 18 04:01:40 2000
--- ocaml-3.00/stdlib/Makefile.Mac Fri Jul 21 18:24:08 2000
***************
*** 36,42 ****
  
  camlheader ƒ
      begin
! quote -n "{BINDIR}ocamlrun"; echo ' "{command}" {"Parameters"}'
        echo 'exit {status}'
        echo
      end > camlheader
--- 36,42 ----
  
  camlheader ƒ
      begin
! quote -n "ocamlrun"; echo ' "{command}" {"Parameters"}'
        echo 'exit {status}'
        echo
      end > camlheader

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000526)
administrator (administrator)
2001-03-06 17:52

>From: hywang@pobox.com
>
>The file camlheader contains a full directory path to ocamlrun . While this
>might be a good practice on a multi-user environment (especially UNIX), on
>Macintosh (under MPW) this causes some problems:
>1) It creates nightmares in distribution, as every Macintosh users tend to
name
>their harddisks differently and put their MPW folders in different places.
>2) Whenever somebody moves the MPW folder, rename the harddisk, etc., ocaml is
>broken.

The advantage is that ocamlrun doesn't need to be in the command
path. But I agree the problems are more important, so I'll make the
change.

-- Damien

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker