[m-users.] Compiler trouble

Noah Scott Goldman noahsg at badmousedriver.xyz
Mon Aug 8 11:13:35 AEST 2016


I get this message:

cl : Command line warning D9024 : unrecognized source file type 
'hello.exe', object file assumed

LINK : fatal error LNK1149: output filename matches input filename 
'C:\Users\McPhee\Me\Personal_files\Programs\Mercury\Hello\hello.exe'

...So it thinks hello.exeis the input file?
On 2016-08-07 20:09, Julien Fischer wrote:
>
> On Mon, Aug 8, 2016 at 10:59 AM, Noah Scott Goldman 
> <noahsg at badmousedriver.xyz <mailto:noahsg at badmousedriver.xyz>> wrote:
>
>     Unfortunately, even after runningmmc helloand mmc
>     --no-restricted-command-line hello, there is still no executable.
>
>     I have attached the --verboseoutput; not sure if it helps.
>
>
> The only thing I can suggest, is entering the last external command 
> manually and seeing why
> it fails, e.g.
>
> cl        -Fehello.exe 
> C:\Users\McPhee\AppData\Local\Temp\mtmp004.43A.lib -link 
> -LIBPATH:C:\mercury-14.01-vs2013\lib\mercury\lib 
> -LIBPATH:C:\mercury-14.01-vs2013\lib\mercury\lib\hlc.gc    -nologo 
> -subsystem:console -machine:x86 -entry:wmainCRTStartup 
> -defaultlib:libcmt 
> C:\mercury-14.01-vs2013\lib\mercury\lib\hlc.gc\libmer_std.lib 
> C:\mercury-14.01-vs2013\lib\mercury\lib\hlc.gc\libmer_rt.lib 
> C:\mercury-14.01-vs2013\lib\mercury\lib\libgc.lib
>
> (This might be somewhat easier if you use the version with 
> --no-restricted-command-line, since it will avoid
> the creation of temporary files.)
>
> Julien.
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20160807/dc0f6d92/attachment-0001.html>


More information about the users mailing list