* Request: Windows installers
@ 2005-08-31 22:03 skaller
2005-09-01 0:26 ` [Caml-list] " Christopher A. Watford
0 siblings, 1 reply; 5+ messages in thread
From: skaller @ 2005-08-31 22:03 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
I have a small request for the Ocaml Windows installers:
There are TWO Windows based Ocaml ports: MinGW and Win32 native
plus the Cygwin port.
Please could the builders of these packages
distinguish them??
Make the default install points, desktop icons, menu items,
etc all distinct. Plus, with the OcamlWinPlus thing, make sure
the port/version of Ocaml being used is displayed on the titlebar:
even the help/about does not tell you this (hmm .. and 'ocaml'
command should tell you this too)
I have, and need, all three versions of Ocaml installed,
and it is all very confusing, both MingW and native ports
think they own the world and use the same OCAMLLIB variable,
and also both expect themselves to be first in the PATH.
Please don't add the binary directory to the system PATH
without asking, just as for registering Ocaml file types,
please DO ask whether to do this (for installing both
ports .. the answer will be NO in both cases).
For the MinGW port it is required to use Cygwin? the port
doesn't appear to actually work with MSYS (standalone
Mingw tools including gcc/as and bash)?
The Windows native version using native code compiler
seems to work provided you have the assembler ML.EXE
and ML.ERR installed, but you also seem to need
MSVC++ compiler CL.EXE and some .lib and .dll files.
I don't quite understand why CL.EXE is required,
why isn't LINK.EXE good enough? Isn't everything
done via assembler?
Anyhow, helloworld.ml compiles to native code fine using
ML.EXE 6.15, and Visual Studio Pro 2003 versions of
CL.EXE plus the required Lib and Dll files.
[If someone knows how to fix the PATH variable pls
email me privately .. I forget how to edit
environment variables .. :]
--
John Skaller <skaller at users dot sourceforge dot net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] Request: Windows installers
2005-08-31 22:03 Request: Windows installers skaller
@ 2005-09-01 0:26 ` Christopher A. Watford
2005-09-01 12:57 ` skaller
0 siblings, 1 reply; 5+ messages in thread
From: Christopher A. Watford @ 2005-09-01 0:26 UTC (permalink / raw)
To: caml-list; +Cc: skaller
On 8/31/05, skaller <skaller@users.sourceforge.net> wrote:
> I have a small request for the Ocaml Windows installers:
>
> There are TWO Windows based Ocaml ports: MinGW and Win32 native
> plus the Cygwin port.
>
> Please could the builders of these packages
> distinguish them??
>
> Make the default install points, desktop icons, menu items,
> etc all distinct. Plus, with the OcamlWinPlus thing, make sure
> the port/version of Ocaml being used is displayed on the titlebar:
> even the help/about does not tell you this (hmm .. and 'ocaml'
> command should tell you this too)
I'll fix that. In my copy Help -> About does, but the entire thing is
built such that it doesn't need to know the version. Unfortunately the
best thing I can do is grab the first line from ocaml.exe... which is
fugly. If the EXE is stamped I'll take out of the NT image headers.
OCamlWinPlus really needs an embedded toplevel. Because piping in that
toplevel is a sonofabitch. I could spruce the thing up big time or
drop it into Eclipse/MSVS if I could step through the toplevel code
wise. Alas I'm not quite sure how to start this.
> I have, and need, all three versions of Ocaml installed,
> and it is all very confusing, both MingW and native ports
> think they own the world and use the same OCAMLLIB variable,
> and also both expect themselves to be first in the PATH.
Personally MingW should come second to MSVS. But I don't think your
'first in PATH' to be correct.
> Please don't add the binary directory to the system PATH
> without asking, just as for registering Ocaml file types,
> please DO ask whether to do this (for installing both
> ports .. the answer will be NO in both cases).
I agree.
> For the MinGW port it is required to use Cygwin? the port
> doesn't appear to actually work with MSYS (standalone
> Mingw tools including gcc/as and bash)?
>
> The Windows native version using native code compiler
> seems to work provided you have the assembler ML.EXE
> and ML.ERR installed, but you also seem to need
> MSVC++ compiler CL.EXE and some .lib and .dll files.
>
> I don't quite understand why CL.EXE is required,
> why isn't LINK.EXE good enough? Isn't everything
> done via assembler?
CL is the primary on that 'toolchain'. I was unaware of being able to
go around it.
> Anyhow, helloworld.ml compiles to native code fine using
> ML.EXE 6.15, and Visual Studio Pro 2003 versions of
> CL.EXE plus the required Lib and Dll files.
>
> [If someone knows how to fix the PATH variable pls
> email me privately .. I forget how to edit
> environment variables .. :]
>
> --
> John Skaller <skaller at users dot sourceforge dot net>
>
My thoughts, I'll get on the OCamlWinPlus stuff right now.
--
Christopher A. Watford
christopher.watford@gmail.com
http://dorm.tunkeymicket.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] Request: Windows installers
2005-09-01 0:26 ` [Caml-list] " Christopher A. Watford
@ 2005-09-01 12:57 ` skaller
[not found] ` <8008871f0509011123621c1d7a@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: skaller @ 2005-09-01 12:57 UTC (permalink / raw)
To: Christopher A. Watford; +Cc: caml-list
[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]
On Wed, 2005-08-31 at 20:26 -0400, Christopher A. Watford wrote:
> On 8/31/05, skaller <skaller@users.sourceforge.net> wrote:
> > I have a small request for the Ocaml Windows installers:
> >
> > There are TWO Windows based Ocaml ports: MinGW and Win32 native
> > plus the Cygwin port.
> >
> > Please could the builders of these packages
> > distinguish them??
> I'll fix that.
Great! Thanks. Only a small thing: not many people will have
multiple Camel's installed, but some Felix developers will,
at least whilst we're trying to get all the different build
configurations to work ;(
> > I have, and need, all three versions of Ocaml installed,
> > and it is all very confusing, both MingW and native ports
> > think they own the world and use the same OCAMLLIB variable,
> > and also both expect themselves to be first in the PATH.
>
> Personally MingW should come second to MSVS. But I don't think your
> 'first in PATH' to be correct.
I'm not even sure why OCAMLLIB is set: the doco claims it isn't
needed for XP. Probably you're right about the PATH thing,
I'm not sure: how does bytecode find ocamlrun?
> > I don't quite understand why CL.EXE is required,
> > why isn't LINK.EXE good enough? Isn't everything
> > done via assembler?
>
> CL is the primary on that 'toolchain'. I was unaware of being able to
> go around it.
Well, there is a linker, LINK.EXE .. and an assembler, ML.EXE,
so why would you need a C/C++ compiler if ocamlopt generates
assmebler only?
Anyhow thanks: it's only a minor thing .. but it is very
confusing, especially OCAMLLIB, since it even influences
the Cygwin version of Ocaml (and then can't find Pervasives)
--
John Skaller <skaller at users dot sourceforge dot net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-02 17:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-31 22:03 Request: Windows installers skaller
2005-09-01 0:26 ` [Caml-list] " Christopher A. Watford
2005-09-01 12:57 ` skaller
[not found] ` <8008871f0509011123621c1d7a@mail.gmail.com>
[not found] ` <1125640801.7223.18.camel@localhost.localdomain>
2005-09-02 16:17 ` Christopher A. Watford
2005-09-02 17:34 ` skaller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox