On 2012-04-25 20:00:42 +0000, Jacob Carlborg <[email protected]> said:

I'm trying to compile DMD for the iPhone simulator. I've modified the makefile to point to the files (SDK, g++ and so on) in <path>/iPhoneSimulator.platform. DMD compiles successfully but when I run DMD without any flags it prints:

"read error, errno = 2"

And then the regular usage information. When I try to compile a file it says:

        read error, errno = 2
        read error, errno = 2
Error: cannot read file main.d

Are you running it straight from the command line? I suspect libraries in the simulator SDK need the simulator's environment to work, which is a pile of undocumented things.

I'm also quite curious about what you're trying to achieve.

--
Michel Fortin
[email protected]
http://michelf.com/

Reply via email to