dobesv / nullc

Automatically exported from code.google.com/p/nullc
0 stars 0 forks source link

Directory separator is \ instead of / on Unix #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 - What steps will reproduce the problem?
1. Install/compile as usual
2. bin/$ bin/ConsoleCalc 
WARNING: Failed to open precompiled module filenullclib_x64.ncm
ERROR: Failed to init std.typeinfo module
usage: ConsoleCalc [-x86] file
..
..

 - What is the expected output? What do you see instead?
ConsoleCalc should work

 - What version of the product are you using? On what operating system?
changeset:   1130:a4fb8d77bb1d

 - Please provide any additional information below.
See the attached output from strace, with lines like 
open("Modules\\std/time.nc", O_RDONLY)  = -1 ENOENT (No such file or directory)

The standard module files are in Modules/std:
dynamic.nc  gc.nc       io.nc    map.nc   random.nc  string.nc  typeinfo.nc
file.nc     hashmap.nc  list.nc  math.nc  range.nc   time.nc    vector.nc

Original issue reported on code.google.com by Conrad.S...@gmail.com on 21 Sep 2010 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the report.

The issue is now fixed.

Additionally, NULLC module library (nullclib.ncm) creation is added to 
Makefile, so that ConsoleCalc can load precompiled modules from it.

Original comment by Where...@gmail.com on 21 Sep 2010 at 7:36