[m-rev.] for review: windows compatibility

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Sep 7 12:43:22 AEST 2005


On Wed, 7 Sep 2005, Ian MacLarty wrote:

>  #-----------------------------------------------------------------------------#
> +enable_symlinks_opt=no
> +AC_ARG_ENABLE(symlinks,
> +[  --enable-symlinks       enable symbolic links.  This is the default on all
> +			  systems except Windows.  On Windows you can force
> +			  symbolic links to be used by giving this option.
> +			  Note that symbolic links will only work on Windows if
> +			  you are using the Cygwin version of GCC.],
> +[ enable_symlinks_opt=yes ])
> +
Should that option not be called `--enable-cygwin-symlinks'.  This is
really only a windows issue.  On other systems the configure script can
make its own mind up.

> > > compiler/passes_aux.m:
> > > 	Remove invoke_shell_command since it is not used anywhere and
> > > 	according to the comment won't work on Windows.
> > >
> > > 	If on windows do not use `2>&1' to redirect standard error since this
> > > 	doesn't work on windows 98 and 95 (and possibly other versions too).
> > >
> > I don't think we should worry about supporting older versions of
> > Windows (although then Mercury would run on my desktop at home, albeit
> > very slowly).
> >
>
> Well Mercury does now work on Windows 98 without cygwin, although errors from external
> programs like gcc and ln will just go to the screen instead of being piped through
> the demangler.  I'd prefer to support it since I have Windows 98 on my Mac.
>
Fair enough.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list