Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Howto Build Tango with GDC on Windows?

Moderators: larsivi kris

Posted: 03/18/07 08:25:34

Hi,All

I don't Build Tango Lib. I Use GDCWin 0.23 on Windows. Please Help Me. Thank!

h_rain

Author Message

Posted: 03/18/07 20:00:58

Have you tried running lib/build-gdc.sh ?

Posted: 03/19/07 03:53:13 -- Modified: 03/19/07 03:55:10 by
h_rain

Yes. Result:

$ sh lib/build-gdc.sh
/c/tango-/lib/compiler/gdc /c/tango-/lib
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@gnu.org.
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
./configure: test: =: unary operator expected
checking If gdc can compile D sources... yes
checking D GCC version... 3.4.5
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for sizeof(FILE)... yes
checking for sizeof(DIR)... yes
checking for cos in -lm... yes
checking for acosl... yes
checking for truncl... yes
checking for sqrtf... yes
checking for trunc... yes
checking for nearbyint... yes
checking for round... yes
checking for tgamma... yes
checking for nan... yes
checking for exp2... yes
checking for log2... yes
checking for fpclassify and signbit... yes
checking for execvpe... yes
checking for spawnvp... yes
checking for fwide... yes
checking for strtold... yes
checking for tm_gmtoff... no
checking for timezone... yes
checking for _timezone... yes
checking for snprintf... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating frag-ac
config.status: creating phobos-ver-syms
config.status: creating config.h
config.status: config.h is unchanged
/c/tango-/lib
find . -name "*.di" | xargs rm -f
rm -f 
rm -f 
make -C compiler/gdc clean
make[1]: Entering directory `/c/tango-/lib/compiler/gdc'
rm -f aaA.o aApply.o aApplyR.o adi.o arraycast.o arraycat.o cast.o cmain.o critical.o dgccmain2.o genobj.o invariant.o lifetime.o memory.o memset.o monitor.o obj.o qsortg.o rundmain.o switch.o moduleinit.o util/console.o util/ctype.o util/string.o util/utf.o std/intrinsic.o gcc/cbridge_math.o  gcc/support.o gcc/config.o gcc/unwind.o gcc/deh.o gcc/cbridge_time.o typeinfo/ti_AC.o typeinfo/ti_Ag.o typeinfo/ti_Aint.o typeinfo/ti_Along.o typeinfo/ti_Ashort.o typeinfo/ti_C.o typeinfo/ti_byte.o typeinfo/ti_cdouble.o typeinfo/ti_cfloat.o typeinfo/ti_char.o typeinfo/ti_creal.o typeinfo/ti_dchar.o typeinfo/ti_delegate.o typeinfo/ti_double.o typeinfo/ti_float.o typeinfo/ti_idouble.o typeinfo/ti_ifloat.o typeinfo/ti_int.o  typeinfo/ti_ireal.o typeinfo/ti_long.o typeinfo/ti_ptr.o typeinfo/ti_real.o typeinfo/ti_short.o typeinfo/ti_ubyte.o typeinfo/ti_uint.o typeinfo/ti_ulong.o typeinfo/ti_ushort.o typeinfo/ti_wchar.o typeinfo/ti_Afloat.o typeinfo/ti_Adouble.o typeinfo/ti_Areal.o typeinfo/ti_Acfloat.o typeinfo/ti_Acdouble.o typeinfo/ti_Acreal.o typeinfo/ti_void.o    
rm -f aaA.t.o aApply.t.o aApplyR.t.o adi.t.o arraycast.t.o arraycat.t.o cast.t.o cmain.t.o critical.t.o dgccmain2.t.o genobj.t.o invariant.t.o lifetime.t.o memory.t.o memset.t.o monitor.t.o obj.t.o qsortg.t.o rundmain.t.o switch.t.o moduleinit.t.o util/console.t.o util/ctype.t.o util/string.t.o util/utf.t.o std/intrinsic.t.o gcc/cbridge_math.t.o  gcc/support.t.o gcc/config.t.o gcc/unwind.t.o gcc/deh.t.o gcc/cbridge_time.t.o typeinfo/ti_AC.t.o typeinfo/ti_Ag.t.o typeinfo/ti_Aint.t.o typeinfo/ti_Along.t.o typeinfo/ti_Ashort.t.o typeinfo/ti_C.t.o typeinfo/ti_byte.t.o typeinfo/ti_cdouble.t.o typeinfo/ti_cfloat.t.o typeinfo/ti_char.t.o typeinfo/ti_creal.t.o typeinfo/ti_dchar.t.o typeinfo/ti_delegate.t.o typeinfo/ti_double.t.o typeinfo/ti_float.t.o typeinfo/ti_idouble.t.o typeinfo/ti_ifloat.t.o typeinfo/ti_int.t.o  typeinfo/ti_ireal.t.o typeinfo/ti_long.t.o typeinfo/ti_ptr.t.o typeinfo/ti_real.t.o typeinfo/ti_short.t.o typeinfo/ti_ubyte.t.o typeinfo/ti_uint.t.o typeinfo/ti_ulong.t.o typeinfo/ti_ushort.t.o typeinfo/ti_wchar.t.o typeinfo/ti_Afloat.t.o typeinfo/ti_Adouble.t.o typeinfo/ti_Areal.t.o typeinfo/ti_Acfloat.t.o typeinfo/ti_Acdouble.t.o typeinfo/ti_Acreal.t.o typeinfo/ti_void.t.o   
rm -f unittest.o
rm -f unittest.exe testgc.exe
rm -f config/gen_config1.o config/gen_unix.o config/gen_math.o
rm -f gen_config1.exe gen_unix.exe gen_math.exe
rm -f frag-gen frag-math frag-unix
rm -f ./gcc/config.d ./gcc/configunix.d
rm -f libgphobos.a
rm -f libgphobos_t.a
test -z "minimal.exe" || rm -f minimal.exe
rm -f *.o
make[1]: Leaving directory `/c/tango-/lib/compiler/gdc'
make -C gc/basic -fposix.mak clean DC=gdmd
make[1]: Entering directory `/c/tango-/lib/gc/basic'
find . -name "*.di" | xargs rm -f
rm -f gc.o gcalloc.o gcbits.o gcstats.o gcx.o
rm -f 
rm -f libbasic*.a
make[1]: Leaving directory `/c/tango-/lib/gc/basic'
make -C common/tango -fposix.mak clean DC=gdmd
make[1]: Entering directory `/c/tango-/lib/common/tango'
find . -name "*.di" | xargs rm -f
rm -f core/Exception.o core/Memory.o core/Thread.o core/ThreadASM.o stdc/wrap.o stdc/posix/pthread_darwin.o
rm -f 
find . -name "libtango*.a" | xargs rm -f
make[1]: Leaving directory `/c/tango-/lib/common/tango'
make -C compiler/gdc
make[1]: Entering directory `/c/tango-/lib/compiler/gdc'
make "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /c/tango-/lib/compiler/gdc/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "includedir=/usr/local/include" "prefix=/usr/local" "tooldir=" "gdc_include_dir=/usr/local/include/d/3.4.5" "AR=ar" "AS=as" "LD=ld" "RANLIB=ranlib" "NM=" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" all-am
make[2]: Entering directory `/c/tango-/lib/compiler/gdc'
gcc -o minimal.o -DHAVE_CONFIG_H -I. -g -O2 -c minimal.c
gcc -o config/gen_config1.o -DHAVE_CONFIG_H -I. -g -O2 -c config/gen_config1.c
gcc -g -O2 -o gen_config1 config/gen_config1.o
./gen_config1 > frag-gen || rm -f frag-gen
gcc -o config/gen_math.o -DHAVE_CONFIG_H -I. -g -O2 -c config/gen_math.c
gcc -g -O2 -o gen_math config/gen_math.o
./gen_math > frag-math || rm -f frag-math
cat config/config-head frag-ac frag-gen frag-math config/config-mid config/config-tail stamp-tgtdir > gcc/config.d
gdc -o aaA.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c aaA.d
gdc -o aApply.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c aApply.d
gdc -o aApplyR.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c aApplyR.d
gdc -o adi.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c adi.d
gdc -o arraycast.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c arraycast.d
gdc -o arraycat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c arraycat.d
gdc -o cast.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c cast.d
gdc -o cmain.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c cmain.d
gcc -o critical.o -DHAVE_CONFIG_H -I. -g -O2 -c critical.c
gdc -o dgccmain2.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c dgccmain2.d
dgccmain2.d:0: warning: pragma(lib) not implemented
gdc -o genobj.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c genobj.d
gdc -o invariant.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c invariant.d
gdc -o lifetime.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c lifetime.d
gdc -o memory.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c memory.d
gdc -o memset.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c memset.d
gcc -o monitor.o -DHAVE_CONFIG_H -I. -g -O2 -c monitor.c
gdc -o obj.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c obj.d
gdc -o qsortg.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c qsortg.d
gdc -o rundmain.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c rundmain.d
gdc -o switch.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c switch.d
gdc -o moduleinit.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c moduleinit.d
gdc -o util/console.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/console.d
gdc -o util/ctype.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/ctype.d
gdc -o util/string.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/string.d
gdc -o util/utf.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/utf.d
gdc -o std/intrinsic.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c std/intrinsic.d
gcc -o gcc/cbridge_math.o -DHAVE_CONFIG_H -I. -g -O2 -fno-strict-aliasing -c gcc/cbridge_math.c
gdc -o gcc/support.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c gcc/support.d
gdc -o gcc/config.o -g -frelease -O2  -nostdinc -pipe -I../../..  -c gcc/config.d
gdc -o gcc/unwind.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c gcc/unwind.d
gdc -o gcc/deh.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c gcc/deh.d
gcc -o gcc/cbridge_time.o -DHAVE_CONFIG_H -I. -g -O2 -c gcc/cbridge_time.c
gdc -o typeinfo/ti_AC.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_AC.d
gdc -o typeinfo/ti_Ag.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Ag.d
gdc -o typeinfo/ti_Aint.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Aint.d
gdc -o typeinfo/ti_Along.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Along.d
gdc -o typeinfo/ti_Ashort.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Ashort.d
gdc -o typeinfo/ti_C.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_C.d
gdc -o typeinfo/ti_byte.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_byte.d
gdc -o typeinfo/ti_cdouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_cdouble.d
gdc -o typeinfo/ti_cfloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_cfloat.d
gdc -o typeinfo/ti_char.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_char.d
gdc -o typeinfo/ti_creal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_creal.d
gdc -o typeinfo/ti_dchar.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_dchar.d
gdc -o typeinfo/ti_delegate.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_delegate.d
gdc -o typeinfo/ti_double.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_double.d
gdc -o typeinfo/ti_float.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_float.d
gdc -o typeinfo/ti_idouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_idouble.d
gdc -o typeinfo/ti_ifloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ifloat.d
gdc -o typeinfo/ti_int.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_int.d
gdc -o typeinfo/ti_ireal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ireal.d
gdc -o typeinfo/ti_long.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_long.d
gdc -o typeinfo/ti_ptr.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ptr.d
gdc -o typeinfo/ti_real.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_real.d
gdc -o typeinfo/ti_short.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_short.d
gdc -o typeinfo/ti_ubyte.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ubyte.d
gdc -o typeinfo/ti_uint.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_uint.d
gdc -o typeinfo/ti_ulong.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ulong.d
gdc -o typeinfo/ti_ushort.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ushort.d
gdc -o typeinfo/ti_wchar.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_wchar.d
gdc -o typeinfo/ti_Afloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Afloat.d
gdc -o typeinfo/ti_Adouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Adouble.d
gdc -o typeinfo/ti_Areal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Areal.d
gdc -o typeinfo/ti_Acfloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Acfloat.d
gdc -o typeinfo/ti_Acdouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Acdouble.d
gdc -o typeinfo/ti_Acreal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Acreal.d
gdc -o typeinfo/ti_void.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_void.d
ar -r libgphobos.a aaA.o aApply.o aApplyR.o adi.o arraycast.o arraycat.o cast.o cmain.o critical.o dgccmain2.o genobj.o invariant.o lifetime.o memory.o memset.o monitor.o obj.o qsortg.o rundmain.o switch.o moduleinit.o util/console.o util/ctype.o util/string.o util/utf.o std/intrinsic.o gcc/cbridge_math.o  gcc/support.o gcc/config.o gcc/unwind.o gcc/deh.o gcc/cbridge_time.o typeinfo/ti_AC.o typeinfo/ti_Ag.o typeinfo/ti_Aint.o typeinfo/ti_Along.o typeinfo/ti_Ashort.o typeinfo/ti_C.o typeinfo/ti_byte.o typeinfo/ti_cdouble.o typeinfo/ti_cfloat.o typeinfo/ti_char.o typeinfo/ti_creal.o typeinfo/ti_dchar.o typeinfo/ti_delegate.o typeinfo/ti_double.o typeinfo/ti_float.o typeinfo/ti_idouble.o typeinfo/ti_ifloat.o typeinfo/ti_int.o  typeinfo/ti_ireal.o typeinfo/ti_long.o typeinfo/ti_ptr.o typeinfo/ti_real.o typeinfo/ti_short.o typeinfo/ti_ubyte.o typeinfo/ti_uint.o typeinfo/ti_ulong.o typeinfo/ti_ushort.o typeinfo/ti_wchar.o typeinfo/ti_Afloat.o typeinfo/ti_Adouble.o typeinfo/ti_Areal.o typeinfo/ti_Acfloat.o typeinfo/ti_Acdouble.o typeinfo/ti_Acreal.o typeinfo/ti_void.o    
c:\mingw\bin\ar.exe: creating libgphobos.a
ranlib libgphobos.a
gcc  -g -O2   -o minimal.exe  minimal.o  -lm 
make[2]: Leaving directory `/c/tango-/lib/compiler/gdc'
make[1]: Leaving directory `/c/tango-/lib/compiler/gdc'
rm -f compiler/gdc/config/*.o compiler/gdc/gcc/configunix.o compiler/gdc/minimal.o
make -C gc/basic -fposix.mak lib DC=gdmd ADDFLAGS="-q,-nostdinc -I`pwd`/common -I`pwd`/.. -I`pwd`/compiler/gdc"
make[1]: Entering directory `/c/tango-/lib/gc/basic'
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gc.d -ofgc.o
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcalloc.d -ofgcalloc.o
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcbits.d -ofgcbits.o
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcstats.d -ofgcstats.o
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcx.d -ofgcx.o
rm -f libbasic.a
ar -qsv libbasic.a gc.o gcalloc.o gcbits.o gcstats.o gcx.o
a - gc.o
a - gcalloc.o
a - gcbits.o
a - gcstats.o
a - gcx.o
c:\mingw\bin\ar.exe: creating libbasic.a
make[1]: Leaving directory `/c/tango-/lib/gc/basic'
make -C common/tango -fposix.mak lib DC=gdmd ADDFLAGS="-q,-nostdinc -I`pwd`/common -I`pwd`/.. -I`pwd`/compiler/gdc"
make[1]: Entering directory `/c/tango-/lib/common/tango'
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc -Hfcore/Exception.di core/Exception.d -ofcore/Exception.o
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc -Hfcore/Memory.di core/Memory.d -ofcore/Memory.o
gdmd -c -release -O -inline -version=Posix -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc -Hfcore/Thread.di core/Thread.d -ofcore/Thread.o
c:/tango-/lib/..\tango\stdc\posix\unistd.d:30: Error: identifier 'uid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:30: Error: uid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:30: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:30: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:30: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:30: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:42: Error: identifier 'uid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:42: Error: uid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:42: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:42: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:42: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:42: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:43: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:43: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:45: Error: identifier 'off_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:45: Error: off_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:45: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:47: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:47: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:48: Error: identifier 'uid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:48: Error: uid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:49: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:49: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:50: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:50: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:55: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:55: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:56: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:56: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:57: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:57: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:58: Error: identifier 'uid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:58: Error: uid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:61: Error: identifier 'off_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:61: Error: off_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:61: Error: identifier 'off_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:61: Error: off_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:61: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:65: Error: identifier 'ssize_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:65: Error: ssize_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:66: Error: identifier 'ssize_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:66: Error: ssize_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:68: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:68: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:68: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:69: Error: identifier 'uid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:69: Error: uid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:69: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:70: Error: identifier 'gid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:70: Error: gid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:70: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:71: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:71: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:71: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:71: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:71: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:71: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:72: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:72: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:73: Error: identifier 'uid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:73: Error: uid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:73: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:77: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:77: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:78: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:78: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\unistd.d:78: Error: cannot have parameter of type void
c:/tango-/lib/..\tango\stdc\posix\unistd.d:82: Error: identifier 'ssize_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\unistd.d:82: Error: ssize_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\signal.d:20: Error: identifier 'siginfo_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\signal.d:20: Error: siginfo_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\signal.d:166: Error: identifier 'sigset_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\signal.d:166: Error: sigset_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\signal.d:166: variable tango.stdc.posix.signal.sigaction_t.sa_mask voids have no value
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:91: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:91: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:92: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:92: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:92: Error: identifier 'pid_t' is not defined
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:92: Error: pid_t is used as a type
c:/tango-/lib/..\tango\stdc\posix\sys\wait.d:92: Error: cannot have parameter of type void
make[1]: *** [core/Thread.o] Error 1
make[1]: Leaving directory `/c/tango-/lib/common/tango'
make: *** [lib] Error 2

Posted: 03/19/07 16:24:34

If you are using MinGW and have -version=Posix defined, try removing it. If you are using Cygwin, Tango may not work for you yet. The only POSIX platforms which Tango currently supports are Linux and MacOSX. But let me know what configuration you are using either way so we can look into supporting it better in the future.

Posted: 03/20/07 03:35:22

I'm removed all "-version=posix",but yet can't build.

MinGW+MSys+ActivePerl?+GDCWin0.23

Result:

$ sh lib/build-gdc.sh
/c/tango-/lib/compiler/gdc /c/tango-/lib
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@gnu.org.
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
./configure: test: =: unary operator expected
checking If gdc can compile D sources... yes
checking D GCC version... 3.4.5
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for sizeof(FILE)... yes
checking for sizeof(DIR)... yes
checking for cos in -lm... yes
checking for acosl... yes
checking for truncl... yes
checking for sqrtf... yes
checking for trunc... yes
checking for nearbyint... yes
checking for round... yes
checking for tgamma... yes
checking for nan... yes
checking for exp2... yes
checking for log2... yes
checking for fpclassify and signbit... yes
checking for execvpe... yes
checking for spawnvp... yes
checking for fwide... yes
checking for strtold... yes
checking for tm_gmtoff... no
checking for timezone... yes
checking for _timezone... yes
checking for snprintf... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating frag-ac
config.status: creating phobos-ver-syms
config.status: creating config.h
config.status: config.h is unchanged
/c/tango-/lib
find . -name "*.di" | xargs rm -f
rm -f 
rm -f 
make -C compiler/gdc clean
make[1]: Entering directory `/c/tango-/lib/compiler/gdc'
rm -f aaA.o aApply.o aApplyR.o adi.o arraycast.o arraycat.o cast.o cmain.o critical.o dgccmain2.o genobj.o invariant.o lifetime.o memory.o memset.o monitor.o obj.o qsortg.o rundmain.o switch.o moduleinit.o util/console.o util/ctype.o util/string.o util/utf.o std/intrinsic.o gcc/cbridge_math.o  gcc/support.o gcc/config.o gcc/unwind.o gcc/deh.o gcc/cbridge_time.o typeinfo/ti_AC.o typeinfo/ti_Ag.o typeinfo/ti_Aint.o typeinfo/ti_Along.o typeinfo/ti_Ashort.o typeinfo/ti_C.o typeinfo/ti_byte.o typeinfo/ti_cdouble.o typeinfo/ti_cfloat.o typeinfo/ti_char.o typeinfo/ti_creal.o typeinfo/ti_dchar.o typeinfo/ti_delegate.o typeinfo/ti_double.o typeinfo/ti_float.o typeinfo/ti_idouble.o typeinfo/ti_ifloat.o typeinfo/ti_int.o  typeinfo/ti_ireal.o typeinfo/ti_long.o typeinfo/ti_ptr.o typeinfo/ti_real.o typeinfo/ti_short.o typeinfo/ti_ubyte.o typeinfo/ti_uint.o typeinfo/ti_ulong.o typeinfo/ti_ushort.o typeinfo/ti_wchar.o typeinfo/ti_Afloat.o typeinfo/ti_Adouble.o typeinfo/ti_Areal.o typeinfo/ti_Acfloat.o typeinfo/ti_Acdouble.o typeinfo/ti_Acreal.o typeinfo/ti_void.o    
rm -f aaA.t.o aApply.t.o aApplyR.t.o adi.t.o arraycast.t.o arraycat.t.o cast.t.o cmain.t.o critical.t.o dgccmain2.t.o genobj.t.o invariant.t.o lifetime.t.o memory.t.o memset.t.o monitor.t.o obj.t.o qsortg.t.o rundmain.t.o switch.t.o moduleinit.t.o util/console.t.o util/ctype.t.o util/string.t.o util/utf.t.o std/intrinsic.t.o gcc/cbridge_math.t.o  gcc/support.t.o gcc/config.t.o gcc/unwind.t.o gcc/deh.t.o gcc/cbridge_time.t.o typeinfo/ti_AC.t.o typeinfo/ti_Ag.t.o typeinfo/ti_Aint.t.o typeinfo/ti_Along.t.o typeinfo/ti_Ashort.t.o typeinfo/ti_C.t.o typeinfo/ti_byte.t.o typeinfo/ti_cdouble.t.o typeinfo/ti_cfloat.t.o typeinfo/ti_char.t.o typeinfo/ti_creal.t.o typeinfo/ti_dchar.t.o typeinfo/ti_delegate.t.o typeinfo/ti_double.t.o typeinfo/ti_float.t.o typeinfo/ti_idouble.t.o typeinfo/ti_ifloat.t.o typeinfo/ti_int.t.o  typeinfo/ti_ireal.t.o typeinfo/ti_long.t.o typeinfo/ti_ptr.t.o typeinfo/ti_real.t.o typeinfo/ti_short.t.o typeinfo/ti_ubyte.t.o typeinfo/ti_uint.t.o typeinfo/ti_ulong.t.o typeinfo/ti_ushort.t.o typeinfo/ti_wchar.t.o typeinfo/ti_Afloat.t.o typeinfo/ti_Adouble.t.o typeinfo/ti_Areal.t.o typeinfo/ti_Acfloat.t.o typeinfo/ti_Acdouble.t.o typeinfo/ti_Acreal.t.o typeinfo/ti_void.t.o   
rm -f unittest.o
rm -f unittest.exe testgc.exe
rm -f config/gen_config1.o config/gen_unix.o config/gen_math.o
rm -f gen_config1.exe gen_unix.exe gen_math.exe
rm -f frag-gen frag-math frag-unix
rm -f ./gcc/config.d ./gcc/configunix.d
rm -f libgphobos.a
rm -f libgphobos_t.a
test -z "minimal.exe" || rm -f minimal.exe
rm -f *.o
make[1]: Leaving directory `/c/tango-/lib/compiler/gdc'
make -C gc/basic -fposix.mak clean DC=gdmd
make[1]: Entering directory `/c/tango-/lib/gc/basic'
find . -name "*.di" | xargs rm -f
rm -f gc.o gcalloc.o gcbits.o gcstats.o gcx.o
rm -f 
rm -f libbasic*.a
make[1]: Leaving directory `/c/tango-/lib/gc/basic'
make -C common/tango -fposix.mak clean DC=gdmd
make[1]: Entering directory `/c/tango-/lib/common/tango'
find . -name "*.di" | xargs rm -f
rm -f core/Exception.o core/Memory.o core/Thread.o core/ThreadASM.o stdc/wrap.o stdc/posix/pthread_darwin.o
rm -f 
find . -name "libtango*.a" | xargs rm -f
make[1]: Leaving directory `/c/tango-/lib/common/tango'
make -C compiler/gdc
make[1]: Entering directory `/c/tango-/lib/compiler/gdc'
make "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /c/tango-/lib/compiler/gdc/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "includedir=/usr/local/include" "prefix=/usr/local" "tooldir=" "gdc_include_dir=/usr/local/include/d/3.4.5" "AR=ar" "AS=as" "LD=ld" "RANLIB=ranlib" "NM=" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" all-am
make[2]: Entering directory `/c/tango-/lib/compiler/gdc'
gcc -o minimal.o -DHAVE_CONFIG_H -I. -g -O2 -c minimal.c
gcc -o config/gen_config1.o -DHAVE_CONFIG_H -I. -g -O2 -c config/gen_config1.c
gcc -g -O2 -o gen_config1 config/gen_config1.o
./gen_config1 > frag-gen || rm -f frag-gen
gcc -o config/gen_math.o -DHAVE_CONFIG_H -I. -g -O2 -c config/gen_math.c
gcc -g -O2 -o gen_math config/gen_math.o
./gen_math > frag-math || rm -f frag-math
cat config/config-head frag-ac frag-gen frag-math config/config-mid config/config-tail stamp-tgtdir > gcc/config.d
gdc -o aaA.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c aaA.d
gdc -o aApply.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c aApply.d
gdc -o aApplyR.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c aApplyR.d
gdc -o adi.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c adi.d
gdc -o arraycast.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c arraycast.d
gdc -o arraycat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c arraycat.d
gdc -o cast.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c cast.d
gdc -o cmain.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c cmain.d
gcc -o critical.o -DHAVE_CONFIG_H -I. -g -O2 -c critical.c
gdc -o dgccmain2.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c dgccmain2.d
dgccmain2.d:0: warning: pragma(lib) not implemented
gdc -o genobj.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c genobj.d
gdc -o invariant.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c invariant.d
gdc -o lifetime.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c lifetime.d
gdc -o memory.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c memory.d
gdc -o memset.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c memset.d
gcc -o monitor.o -DHAVE_CONFIG_H -I. -g -O2 -c monitor.c
gdc -o obj.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c obj.d
gdc -o qsortg.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c qsortg.d
gdc -o rundmain.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c rundmain.d
gdc -o switch.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c switch.d
gdc -o moduleinit.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c moduleinit.d
gdc -o util/console.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/console.d
gdc -o util/ctype.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/ctype.d
gdc -o util/string.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/string.d
gdc -o util/utf.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c util/utf.d
gdc -o std/intrinsic.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c std/intrinsic.d
gcc -o gcc/cbridge_math.o -DHAVE_CONFIG_H -I. -g -O2 -fno-strict-aliasing -c gcc/cbridge_math.c
gdc -o gcc/support.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c gcc/support.d
gdc -o gcc/config.o -g -frelease -O2  -nostdinc -pipe -I../../..  -c gcc/config.d
gdc -o gcc/unwind.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c gcc/unwind.d
gdc -o gcc/deh.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c gcc/deh.d
gcc -o gcc/cbridge_time.o -DHAVE_CONFIG_H -I. -g -O2 -c gcc/cbridge_time.c
gdc -o typeinfo/ti_AC.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_AC.d
gdc -o typeinfo/ti_Ag.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Ag.d
gdc -o typeinfo/ti_Aint.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Aint.d
gdc -o typeinfo/ti_Along.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Along.d
gdc -o typeinfo/ti_Ashort.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Ashort.d
gdc -o typeinfo/ti_C.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_C.d
gdc -o typeinfo/ti_byte.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_byte.d
gdc -o typeinfo/ti_cdouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_cdouble.d
gdc -o typeinfo/ti_cfloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_cfloat.d
gdc -o typeinfo/ti_char.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_char.d
gdc -o typeinfo/ti_creal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_creal.d
gdc -o typeinfo/ti_dchar.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_dchar.d
gdc -o typeinfo/ti_delegate.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_delegate.d
gdc -o typeinfo/ti_double.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_double.d
gdc -o typeinfo/ti_float.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_float.d
gdc -o typeinfo/ti_idouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_idouble.d
gdc -o typeinfo/ti_ifloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ifloat.d
gdc -o typeinfo/ti_int.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_int.d
gdc -o typeinfo/ti_ireal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ireal.d
gdc -o typeinfo/ti_long.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_long.d
gdc -o typeinfo/ti_ptr.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ptr.d
gdc -o typeinfo/ti_real.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_real.d
gdc -o typeinfo/ti_short.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_short.d
gdc -o typeinfo/ti_ubyte.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ubyte.d
gdc -o typeinfo/ti_uint.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_uint.d
gdc -o typeinfo/ti_ulong.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ulong.d
gdc -o typeinfo/ti_ushort.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_ushort.d
gdc -o typeinfo/ti_wchar.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_wchar.d
gdc -o typeinfo/ti_Afloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Afloat.d
gdc -o typeinfo/ti_Adouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Adouble.d
gdc -o typeinfo/ti_Areal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Areal.d
gdc -o typeinfo/ti_Acfloat.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Acfloat.d
gdc -o typeinfo/ti_Acdouble.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Acdouble.d
gdc -o typeinfo/ti_Acreal.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_Acreal.d
gdc -o typeinfo/ti_void.o -g -frelease -O2  -nostdinc -pipe -I../../..   \
-c typeinfo/ti_void.d
ar -r libgphobos.a aaA.o aApply.o aApplyR.o adi.o arraycast.o arraycat.o cast.o cmain.o critical.o dgccmain2.o genobj.o invariant.o lifetime.o memory.o memset.o monitor.o obj.o qsortg.o rundmain.o switch.o moduleinit.o util/console.o util/ctype.o util/string.o util/utf.o std/intrinsic.o gcc/cbridge_math.o  gcc/support.o gcc/config.o gcc/unwind.o gcc/deh.o gcc/cbridge_time.o typeinfo/ti_AC.o typeinfo/ti_Ag.o typeinfo/ti_Aint.o typeinfo/ti_Along.o typeinfo/ti_Ashort.o typeinfo/ti_C.o typeinfo/ti_byte.o typeinfo/ti_cdouble.o typeinfo/ti_cfloat.o typeinfo/ti_char.o typeinfo/ti_creal.o typeinfo/ti_dchar.o typeinfo/ti_delegate.o typeinfo/ti_double.o typeinfo/ti_float.o typeinfo/ti_idouble.o typeinfo/ti_ifloat.o typeinfo/ti_int.o  typeinfo/ti_ireal.o typeinfo/ti_long.o typeinfo/ti_ptr.o typeinfo/ti_real.o typeinfo/ti_short.o typeinfo/ti_ubyte.o typeinfo/ti_uint.o typeinfo/ti_ulong.o typeinfo/ti_ushort.o typeinfo/ti_wchar.o typeinfo/ti_Afloat.o typeinfo/ti_Adouble.o typeinfo/ti_Areal.o typeinfo/ti_Acfloat.o typeinfo/ti_Acdouble.o typeinfo/ti_Acreal.o typeinfo/ti_void.o    
c:\mingw\bin\ar.exe: creating libgphobos.a
ranlib libgphobos.a
gcc  -g -O2   -o minimal.exe  minimal.o  -lm 
make[2]: Leaving directory `/c/tango-/lib/compiler/gdc'
make[1]: Leaving directory `/c/tango-/lib/compiler/gdc'
rm -f compiler/gdc/config/*.o compiler/gdc/gcc/configunix.o compiler/gdc/minimal.o
make -C gc/basic -fposix.mak lib DC=gdmd ADDFLAGS="-q,-nostdinc -I`pwd`/common -I`pwd`/.. -I`pwd`/compiler/gdc"
make[1]: Entering directory `/c/tango-/lib/gc/basic'
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gc.d -ofgc.o
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcalloc.d -ofgcalloc.o
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcbits.d -ofgcbits.o
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcstats.d -ofgcstats.o
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc gcx.d -ofgcx.o
rm -f libbasic.a
ar -qsv libbasic.a gc.o gcalloc.o gcbits.o gcstats.o gcx.o
a - gc.o
a - gcalloc.o
a - gcbits.o
a - gcstats.o
a - gcx.o
c:\mingw\bin\ar.exe: creating libbasic.a
make[1]: Leaving directory `/c/tango-/lib/gc/basic'
make -C common/tango -fposix.mak lib DC=gdmd ADDFLAGS="-q,-nostdinc -I`pwd`/common -I`pwd`/.. -I`pwd`/compiler/gdc"
make[1]: Entering directory `/c/tango-/lib/common/tango'
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc -Hfcore/Exception.di core/Exception.d -ofcore/Exception.o
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc -Hfcore/Memory.di core/Memory.d -ofcore/Memory.o
gdmd -c -release -O -inline -q,-nostdinc -I/c/tango-/lib/common -I/c/tango-/lib/.. -I/c/tango-/lib/compiler/gdc -Hfcore/Thread.di core/Thread.d -ofcore/Thread.o
c:/tmp/cc46aaaa.s: Assembler messages:
c:/tmp/cc46aaaa.s:1828: Error: bad memory operand `'
c:/tmp/cc46aaaa.s:1842: Error: bad memory operand `'
make[1]: *** [core/Thread.o] Error 1
make[1]: Leaving directory `/c/tango-/lib/common/tango'
make: *** [lib] Error 2