Compiling Build

Derek Parnell derek at psych.ward
Thu Apr 20 01:32:59 PDT 2006


On Thu, 20 Apr 2006 08:20:29 +0000 (UTC), sclytrack at pi.be wrote:

> Hello, I've just successfully compiled gdc 0.17 
> I'm attempting to build build, but with some problems

Yes there were some mistakes in the distro.

Add "import util.str;" to util.fileex.d and use the make file below ...

----[Makefile.gdc]-------------------------
DMD=gdmd
DFLAGS=-op -release -inline
SOURCES=build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d
build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d
util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d
util/macro.d

all: build

build: $(SOURCES)
	$(DMD) $(DFLAGS) -of$@ $(SOURCES)

clean:
	rm -f *.o build
	rm -f util/*.o
-------[end Makefile.gdc]----------------------


-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
20/04/2006 6:27:07 PM



More information about the D.gnu mailing list