[mercury-users] Build error in cygwin
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu Jun 9 14:03:22 AEST 2011
On Thu, 9 Jun 2011, Jeff Thompson wrote:
> Hello. I'm trying to compile Mercury version 11.01 in cygwin inside Windows
> XP. ./configure and make succeed. When I enter:
>
> make install LIBGRADES=csharp
>
> I get the error:
>
> cygwin warning:
> MS-DOS style path detected: ..\runtime\mercury_dotnet.cs
> Preferred POSIX equivalent is: ../runtime/mercury_dotnet.cs
> Making mer_std.dll
> ** Error making `mer_std.dll'.
> error CS2001: Source file `..runtimemercur
> dotnet.cs' could not be found
>
> I can't find the makefile that is using \ instead of /.
It is library/Mmakefile:378, specifically these line:
# Don't use Unix style paths with the Microsoft C# compiler.
ifeq ($(CSC),csc)
MLOBJS += ..\runtime\mercury_dotnet.cs
else
MLOBJS += ../runtime/mercury_dotnet.cs
The above is a workaround for the fact that --link-object does not yet
do any path conversion.
Julien.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to: mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions: mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the users
mailing list