Teggy / C0.tmbundle

TextMate bundle for Frank Pfenning's imperative teaching language C0
4 stars 0 forks source link

Sourcen mit Leerzeichen im Pfad werden nicht gefunden #1

Closed oobenland closed 12 years ago

oobenland commented 12 years ago

Bei Dateinamen und -pfade mit Leerzeichen wird folgender Fehler ausgegeben (z.B. bei der Datei "~/Hallo Welt.c0")

i686-apple-darwin11-llvm-gcc-4.2: ~/Hallo: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2:  Welt.c0.c: No such file or directory
sh: ./a.out: No such file or directory
unhandled exception: Fail: MLton.Exit.exit(32512): exit must have 0 <= status < 256
Top-level handler raised exception.
Teggy commented 12 years ago

Thanks for your feedback. This appears to a problem with cc0 itself (related to how cc0 invokes gcc):

$ cc0 Hello\ World.c0 
i686-apple-darwin11-llvm-gcc-4.2: Hello: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: World.c0.c: No such file or directory
unhandled exception: Fail: MLton.Exit.exit(256): exit must have 0 <= status < 256
Top-level handler raised exception.

We'll have a look at cc0 and try to fix this.