DMD crash! and JSON files
Rainer Schuetze
r.sagitario at gmx.de
Thu Apr 22 23:34:19 PDT 2010
Hi,
you don't need to create json-files per d-file. I added the -Xf option
to the lib-generating line in druntime/win32.mak:
################### Library generation #########################
$(DRUNTIME): $(OBJS) $(SRCS) win32.mak
$(DMD) -lib -Xf..\json\druntime.json -of$(DRUNTIME) $(DFLAGS) $(SRCS)
$(OBJS)
and the same to phobos/win32.mak:
phobos.lib : $(OBJS) $(SRCS) \
etc\c\zlib\zlib.lib $(DRUNTIMELIB) win32.mak
$(DMD) -lib -ofphobos.lib -Xf..\json\phobos.json $(DFLAGS) $(SRCS)
$(OBJS) \
etc\c\zlib\zlib.lib $(DRUNTIMELIB)
and you will get only two json files. (This will leave out files in
$(OBJS), but i think, their separate compilation seems not be necessary
with the compile-everything-command above).
Regan Heath wrote:
> Regan Heath wrote:
>> I highlight BufferedFile and press F12, or right-click and choose "Go
>> To Definition" and it doesn't work :(
>
> Ok, my mistake was creating the JSON files in a tree, a flat structure
> works. :)
>
> R
More information about the Digitalmars-d
mailing list