www.digitalmars.com         C & C++   DMDScript  

D.gnu - MinGW version of gdc-0.12?

reply "Gerrit P. Haase" <gerrit familiehaase.de> writes:
Hi,

can someone send me a MinGW version of gdc-0.12, I would prefer one
that was built with the gcc-3.4.4 release candidate posted at the
MinGW site.

I want to include it in the Cygwin GCC distribution (which I'm the
maintainer of).


Regards,
Gerrit
Jun 04 2005
next sibling parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
Gerrit P. Haase wrote:
 Hi,
 
 can someone send me a MinGW version of gdc-0.12, I would prefer one
 that was built with the gcc-3.4.4 release candidate posted at the
 MinGW site.
 
 I want to include it in the Cygwin GCC distribution (which I'm the
 maintainer of).
 
 
 Regards,
 Gerrit
Are you expecting to be able to run "gdc -mno-cygwin"? If so, I'll need to make a few changes to gdc. Could you send me or tell me where to get the 3.4.4 Cygwin gcc patches so I make sure I'm doing the right thing? David
Jun 04 2005
parent reply "Gerrit P. Haase" <gerrit familiehaase.de> writes:
David Friedman wrote:

 Gerrit P. Haase wrote:
 
 Hi,

 can someone send me a MinGW version of gdc-0.12, I would prefer one
 that was built with the gcc-3.4.4 release candidate posted at the
 MinGW site.

 I want to include it in the Cygwin GCC distribution (which I'm the
 maintainer of).


 Regards,
 Gerrit
Are you expecting to be able to run "gdc -mno-cygwin"? If so, I'll need to make a few changes to gdc. Could you send me or tell me where to get the 3.4.4 Cygwin gcc patches so I make sure I'm doing the right thing?
After adding all the changes compilation was ok, now compiling with -mno-cygwin resuklts in this error. The paths are all correct and your MinGW version of libgphobos.a is in the right place. $ /usr/bin/gdc -v -mno-cygwin -o hello_d hello.d Reading specs from /usr/lib/gcc/i686-pc-mingw32/3.4.4/specs Reading specs from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/libgphobos.spec rename spec lib to liborig Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured) Thread model: posix gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) /usr/lib/gcc/i686-pc-mingw32/3.4.4/cc1d.exe hello.d -quiet -dumpbase hello.d -mno-cygwin -mtune=pentiumpro -auxbase hello -version -o /tmp/ccp9iO0X.s GNU D version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) (i686-pc-cygwin) compiled by GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125). GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=130894 /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/as.exe -o /tmp/ccn9bhD2.o /tmp/ccp9iO0X.s /usr/lib/gcc/i686-pc-mingw32/3.4.4/collect2.exe -Bdynamic -o hello_d.exe /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/crt2.o -L/usr/lib/gcc/i686-pc-mingw32/3.4.4 -L/usr/lib/gcc/i686-pc-mingw32/3.4.4 -L/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib -L/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../.. /tmp/ccn9bhD2.o -lgphobos -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lm -lmingw32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt /tmp/ccn9bhD2.o:hello.d:(.text+0x51): undefined reference to `__d_array_bounds' /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/libmingw32.a(main.o):m in.c:(.text+0x106): undefined reference to `_WinMain 16' collect2: ld returned 1 exit status Sigh, Gerrit
Jun 07 2005
parent "Gerrit P. Haase" <gerrit familiehaase.de> writes:
Gerrit P. Haase wrote:
 -L/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../.. /tmp/ccn9bhD2.o -lgphobos 
It seems s.th. is wrong with the archive: $ nm /usr/lib/mingw/libgphobos.a cbridge_math.o: nm: cbridge_math.o: no symbols windows.o: nm: windows.o: no symbols com.o: nm: com.o: no symbols winsock.o: nm: winsock.o: no symbols iunknown.o: nm: iunknown.o: no symbols registry.o: nm: registry.o: no symbols syserror.o: nm: syserror.o: no symbols loader.o: nm: loader.o: no symbols intrinsic.o: nm: intrinsic.o: no symbols support.o: nm: support.o: no symbols config.o: nm: config.o: no symbols unwind.o: nm: unwind.o: no symbols deh.o: nm: deh.o: no symbols threadsem.o: nm: threadsem.o: no symbols dirent.o: nm: dirent.o: no symbols cbridge_time.o: nm: cbridge_time.o: no symbols asserterror.o: nm: asserterror.o: no symbols switch.o: nm: switch.o: no symbols complex.o: nm: complex.o: no symbols gcstats.o: nm: gcstats.o: no symbols critical.o: nm: critical.o: no symbols object.o: nm: object.o: no symbols monitor.o: nm: monitor.o: no symbols arraycat.o: nm: arraycat.o: no symbols invariant.o: nm: invariant.o: no symbols outofmemory.o: nm: outofmemory.o: no symbols aaA.o: nm: aaA.o: no symbols adi.o: nm: adi.o: no symbols aApply.o: nm: aApply.o: no symbols file.o: nm: file.o: no symbols compiler.o: nm: compiler.o: no symbols system.o: nm: system.o: no symbols moduleinit.o: nm: moduleinit.o: no symbols md5.o: nm: md5.o: no symbols base64.o: nm: base64.o: no symbols cast.o: nm: cast.o: no symbols path.o: nm: path.o: no symbols string.o: nm: string.o: no symbols memset.o: nm: memset.o: no symbols math.o: nm: math.o: no symbols mmfile.o: nm: mmfile.o: no symbols outbuffer.o: nm: outbuffer.o: no symbols ctype.o: nm: ctype.o: no symbols regexp.o: nm: regexp.o: no symbols random.o: nm: random.o: no symbols stream.o: nm: stream.o: no symbols switcherr.o: nm: switcherr.o: no symbols array.o: nm: array.o: no symbols gc.o: nm: gc.o: no symbols qsort.o: nm: qsort.o: no symbols thread.o: nm: thread.o: no symbols obj.o: nm: obj.o: no symbols utf.o: nm: utf.o: no symbols uri.o: nm: uri.o: no symbols crc32.o: nm: crc32.o: no symbols conv.o: nm: conv.o: no symbols arraycast.o: nm: arraycast.o: no symbols errno.o: nm: errno.o: no symbols process.o: nm: process.o: no symbols syserror.o: nm: syserror.o: no symbols socket.o: nm: socket.o: no symbols socketstream.o: nm: socketstream.o: no symbols stdarg.o: nm: stdarg.o: no symbols stdio.o: nm: stdio.o: no symbols format.o: nm: format.o: no symbols perf.o: nm: perf.o: no symbols openrj.o: nm: openrj.o: no symbols uni.o: nm: uni.o: no symbols boxer.o: nm: boxer.o: no symbols ti_AC.o: nm: ti_AC.o: no symbols ti_Aa.o: nm: ti_Aa.o: no symbols ti_Adchar.o: nm: ti_Adchar.o: no symbols ti_Ag.o: nm: ti_Ag.o: no symbols ti_Aint.o: nm: ti_Aint.o: no symbols ti_Along.o: nm: ti_Along.o: no symbols ti_Ashort.o: nm: ti_Ashort.o: no symbols ti_Aubyte.o: nm: ti_Aubyte.o: no symbols ti_Auint.o: nm: ti_Auint.o: no symbols ti_Aulong.o: nm: ti_Aulong.o: no symbols ti_Aushort.o: nm: ti_Aushort.o: no symbols ti_Awchar.o: nm: ti_Awchar.o: no symbols ti_C.o: nm: ti_C.o: no symbols ti_bit.o: nm: ti_bit.o: no symbols ti_byte.o: nm: ti_byte.o: no symbols ti_cdouble.o: nm: ti_cdouble.o: no symbols ti_cfloat.o: nm: ti_cfloat.o: no symbols ti_char.o: nm: ti_char.o: no symbols ti_creal.o: nm: ti_creal.o: no symbols ti_dchar.o: nm: ti_dchar.o: no symbols ti_delegate.o: nm: ti_delegate.o: no symbols ti_double.o: nm: ti_double.o: no symbols ti_float.o: nm: ti_float.o: no symbols ti_idouble.o: nm: ti_idouble.o: no symbols ti_ifloat.o: nm: ti_ifloat.o: no symbols ti_int.o: nm: ti_int.o: no symbols ti_ireal.o: nm: ti_ireal.o: no symbols ti_long.o: nm: ti_long.o: no symbols ti_ptr.o: nm: ti_ptr.o: no symbols ti_real.o: nm: ti_real.o: no symbols ti_short.o: nm: ti_short.o: no symbols ti_ubyte.o: nm: ti_ubyte.o: no symbols ti_uint.o: nm: ti_uint.o: no symbols ti_ulong.o: nm: ti_ulong.o: no symbols ti_ushort.o: nm: ti_ushort.o: no symbols ti_wchar.o: nm: ti_wchar.o: no symbols ti_Afloat.o: nm: ti_Afloat.o: no symbols ti_Adouble.o: nm: ti_Adouble.o: no symbols ti_Areal.o: nm: ti_Areal.o: no symbols ti_Acfloat.o: nm: ti_Acfloat.o: no symbols ti_Acdouble.o: nm: ti_Acdouble.o: no symbols ti_Acreal.o: nm: ti_Acreal.o: no symbols ti_Abit.o: nm: ti_Abit.o: no symbols ti_void.o: nm: ti_void.o: no symbols date.o: nm: date.o: no symbols dateparse.o: nm: dateparse.o: no symbols math2.o: nm: math2.o: no symbols zlib.o: nm: zlib.o: no symbols zlib.o: nm: zlib.o: no symbols zip.o: nm: zip.o: no symbols dgccmain2.o: nm: dgccmain2.o: no symbols rundmain.o: nm: rundmain.o: no symbols adler32.o: nm: adler32.o: no symbols compress.o: nm: compress.o: no symbols crc32.o: nm: crc32.o: no symbols gzio.o: nm: gzio.o: no symbols uncompr.o: nm: uncompr.o: no symbols deflate.o: nm: deflate.o: no symbols trees.o: nm: trees.o: no symbols zutil.o: nm: zutil.o: no symbols inflate.o: nm: inflate.o: no symbols infback.o: nm: infback.o: no symbols inftrees.o: nm: inftrees.o: no symbols inffast.o: nm: inffast.o: no symbols gc.o: nm: gc.o: no symbols gcx.o: nm: gcx.o: no symbols gcbits.o: nm: gcbits.o: no symbols win32.o: nm: win32.o: no symbols recls_api.o: nm: recls_api.o: no symbols recls_fileinfo.o: nm: recls_fileinfo.o: no symbols recls_internal.o: nm: recls_internal.o: no symbols recls_util.o: nm: recls_util.o: no symbols recls_api_win32.o: nm: recls_api_win32.o: no symbols recls_fileinfo_win32.o: nm: recls_fileinfo_win32.o: no symbols recls_util_win32.o: nm: recls_util_win32.o: no symbols recls.o: nm: recls.o: no symbols cmain.o: nm: cmain.o: no symbols Gerrit
Jun 07 2005
prev sibling parent "Gerrit P. Haase" <gerrit familiehaase.de> writes:
Gerrit P. Haase wrote:

 Hi,
 
 can someone send me a MinGW version of gdc-0.12, I would prefer one
 that was built with the gcc-3.4.4 release candidate posted at the
 MinGW site.
 
 I want to include it in the Cygwin GCC distribution (which I'm the
 maintainer of).
Ok, gcc-3.4.4 including the D compiler for both targets is upoaded. Many thanks David for supporting this, Gerrit
Jun 11 2005