On Sunday, 14 August 2016 at 03:10:28 UTC, WhatMeWorry wrote:
On Sunday, 14 August 2016 at 01:05:33 UTC, Basile B. wrote:
On Saturday, 13 August 2016 at 21:56:49 UTC, WhatMeWorry wrote:
$ sudo chmod -v 777 *
mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777
(rwxrwxrwx)
$ ls -al
total 3016
drwxr-xr-x 2 generic generic 4096 Aug 13 16:48 .
drwxr-xr-x 7 generic generic 4096 Aug 12 23:14 ..
-rw-r--r-- 1 generic generic 3080080 Aug 13 16:48 HelloWindow
Now I'm really gobsmacked.
Can you post the result of
$file HelloWindow
?
Certainly.
$file *
HelloWindow: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for
GNU/Linux 2.6.32,
BuildID[sha1]=1ee19ed1fe36d068ad24f1a16f9990b6b7ff4438, not
stripped
I'm running Ubuntu (actually Xubuntu) 16.04.1 LTS And I've got
the very latest dmd and dub general releases.
Ubuntu 64 bit or 32 bit ?
I might be doing something unusual that may not even be
allowed. I've got a USB flash drive that I'm trying to share
between two physical machines: one Windows and the other Linux.
The dub project, bin, source code etc. is on the flash drive.
I compiled my little HelloWorld in dub to create a
HelloWorld.exe on my Windows machine. This compiled and ran
fine. I then moved the USB flash drive over to the Linux
machine and reran dub build/run to create the executable
HelloWorld that is now causing the trouble. Should I not be
trying to share a flash drive like this?
IDK, I'm doing something similar but I have distinct copies of
everything on each hard drive.
Have you tried to delete all the binaries produced on Windows and
delete the hidden DUB stuff (dub.selection.json + .dub folder)
and retry ?