digitalmars.D - dmd running under amd64 ?
- Manfred Hansen (193/193) Mar 10 2005 Hello,
- Manfred Nowak (4/5) Mar 10 2005 [...]
Hello, is dmd running under linux amd64? I have Debian Testing. I get the following error message: hansen manni-lx:~/dd$ dmd hello.d gcc hello.o -o hello -lphobos -lpthread -lm /usr/bin/ld: skipping incompatible /usr/local/lib/libphobos.a when searching for -lphobos /usr/bin/ld: cannot find -lphobos collect2: ld returned 1 exit status --- errorlevel 1 After that i have try to build phobes: dmd -c unittest dmd -c -O -release std/asserterror.d dmd -c -O -release -release internal/deh2.d dmd -c -O -release internal/switch.d gcc -c -O internal/complex.c dmd -c -O -release gcstats.d gcc -c -O internal/critical.c dmd -c -O -release internal/object.d gcc -c -O internal/monitor.c internal/monitor.c: In function `_d_monitorenter': internal/monitor.c:133: warning: cast from pointer to integer of different size internal/monitor.c:142: warning: cast to pointer from integer of different size internal/monitor.c: In function `_d_monitorexit': internal/monitor.c:150: warning: cast to pointer from integer of different size internal/monitor.c: In function `_d_monitorrelease': internal/monitor.c:161: warning: cast to pointer from integer of different size internal/monitor.c:164: warning: cast to pointer from integer of different size dmd -c -O -release internal/arraycat.d dmd -c -O -release internal/invariant.d dmd -c -O -release internal/dmain2.d dmd -c -O -release std/outofmemory.d dmd -c -O -release internal/aaA.d dmd -c -O -release internal/adi.d dmd -c -O -release internal/aApply.d dmd -c -O -release std/file.d dmd -c -O -release std/compiler.d dmd -c -O -release std/system.d dmd -c -O -release std/moduleinit.d dmd -c -O -release std/md5.d dmd -c -O -release std/base64.d dmd -c -O -release internal/cast.d dmd -c -O -release std/path.d dmd -c -O -release std/string.d dmd -c -O -release internal/memset.d dmd -c -O -release std/math.d dmd -c -O -release std/mmfile.d dmd -c -O -release std/outbuffer.d dmd -c -O -release std/ctype.d dmd -c -O -release std/regexp.d dmd -c -O -release std/random.d dmd -c -O -release std/c/linux/linux.d dmd -c -O -release std/c/linux/socket.d -oflinuxsocket.o dmd -c -O -release std/stream.d dmd -c -O -release std/switcherr.d dmd -c -O -release std/array.d dmd -c -O -release std/gc.d dmd -c -O -release internal/qsort.d dmd -c -O -release std/thread.d dmd -c -O -release internal/obj.d dmd -c -O -release std/utf.d dmd -c -O -release std/uri.d dmd -c -O -release crc32.d dmd -c -O -release std/conv.d dmd -c -O -release internal/arraycast.d gcc -c -O errno.c dmd -c -O -release internal/alloca.d dmd -c -O -release internal/cmath2.d dmd -c -O -release std/process.d dmd -c -O -release std/syserror.d dmd -c -O -release std/socket.d dmd -c -O -release std/socketstream.d dmd -c -O -release std/c/stdarg.d dmd -c -O -release std/stdio.d dmd -c -O -release std/format.d dmd -c -O -release std/perf.d dmd -c -O -release std/openrj.d dmd -c -O -release std/uni.d dmd -c -O -release internal/trace.d dmd -c -O -release std/typeinfo/ti_wchar.d dmd -c -O -release std/typeinfo/ti_uint.d dmd -c -O -release std/typeinfo/ti_short.d dmd -c -O -release std/typeinfo/ti_ushort.d dmd -c -O -release std/typeinfo/ti_byte.d dmd -c -O -release std/typeinfo/ti_ubyte.d dmd -c -O -release std/typeinfo/ti_long.d dmd -c -O -release std/typeinfo/ti_ulong.d dmd -c -O -release std/typeinfo/ti_ptr.d dmd -c -O -release std/typeinfo/ti_float.d dmd -c -O -release std/typeinfo/ti_double.d dmd -c -O -release std/typeinfo/ti_real.d dmd -c -O -release std/typeinfo/ti_delegate.d dmd -c -O -release std/typeinfo/ti_creal.d dmd -c -O -release std/typeinfo/ti_ireal.d dmd -c -O -release std/typeinfo/ti_cfloat.d dmd -c -O -release std/typeinfo/ti_ifloat.d dmd -c -O -release std/typeinfo/ti_cdouble.d dmd -c -O -release std/typeinfo/ti_idouble.d dmd -c -O -release std/typeinfo/ti_Aa.d dmd -c -O -release std/typeinfo/ti_AC.d dmd -c -O -release std/typeinfo/ti_Ag.d dmd -c -O -release std/typeinfo/ti_Aubyte.d dmd -c -O -release std/typeinfo/ti_Aushort.d dmd -c -O -release std/typeinfo/ti_Ashort.d dmd -c -O -release std/typeinfo/ti_C.d dmd -c -O -release std/typeinfo/ti_int.d dmd -c -O -release std/typeinfo/ti_char.d dmd -c -O -release std/typeinfo/ti_dchar.d dmd -c -O -release std/typeinfo/ti_Adchar.d dmd -c -O -release std/typeinfo/ti_bit.d dmd -c -O -release std/typeinfo/ti_Aint.d dmd -c -O -release std/typeinfo/ti_Auint.d dmd -c -O -release std/typeinfo/ti_Along.d dmd -c -O -release std/typeinfo/ti_Aulong.d dmd -c -O -release std/typeinfo/ti_Awchar.d dmd -c -O -release std/typeinfo/ti_Afloat.d dmd -c -O -release std/typeinfo/ti_Adouble.d dmd -c -O -release std/typeinfo/ti_Areal.d dmd -c -O -release std/typeinfo/ti_Acfloat.d dmd -c -O -release std/typeinfo/ti_Acdouble.d dmd -c -O -release std/typeinfo/ti_Acreal.d dmd -c -O -release std/date.d dmd -c -O -release std/dateparse.d dmd -c -O -release internal/llmath.d dmd -c -O -release std/math2.d dmd -c -O -release etc/c/zlib.d -ofCzlib.o dmd -c -O -release std/zlib.d -ofDzlib.o dmd -c -O -release std/zip.d dmd -c -O -release std/recls.d make -C ./internal/gc -f linux.mak dmgc.a make[1]: Entering directory `/home/hansen/dd/dmd/src/phobos/internal/gc' dmd -c -release -O -inline -I../.. gc.d dmd -c -release -O -inline -I../.. gcx.d dmd -c -release -O -inline -I../.. gcbits.d dmd -c -release -O -inline -I../.. gclinux.d ar -r dmgc.a gc.o gcx.o gcbits.o gclinux.o ar: creating dmgc.a make[1]: Leaving directory `/home/hansen/dd/dmd/src/phobos/internal/gc' make -C ./etc/c/zlib -f linux.mak make[1]: Entering directory `/home/hansen/dd/dmd/src/phobos/etc/c/zlib' gcc -c -O adler32.c gcc -c -O compress.c gcc -c -O crc32.c gcc -c -O gzio.c gcc -c -O uncompr.c gcc -c -O deflate.c gcc -c -O trees.c gcc -c -O zutil.c gcc -c -O inflate.c gcc -c -O infback.c gcc -c -O inftrees.c gcc -c -O inffast.c ar -r zlib.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o ar: creating zlib.a gcc -c -O example.c gcc -o example example.o zlib.a -g gcc -c -O minigzip.c gcc -o minigzip minigzip.o zlib.a -g make[1]: Leaving directory `/home/hansen/dd/dmd/src/phobos/etc/c/zlib' make -C ./etc/c/recls -f linux.mak make[1]: Entering directory `/home/hansen/dd/dmd/src/phobos/etc/c/recls' g++ -Wall -O4 -mcpu=i686 -DNDEBUG -DUNIX -D_M_IX86 -c -I. -I../stlsoft -orecls_api.o recls_api.cpp In file included from ../stlsoft/stlsoft_nulldef.h:75, from recls_api.cpp:68: ../stlsoft/stlsoft.h: In destructor ` stlsoft::stlsoft_size_checker::~stlsoft_size_checker()': ../stlsoft/stlsoft.h:1497: error: size of array `ai' is negative make[1]: *** [recls_api.o] Error 1 make[1]: Leaving directory `/home/hansen/dd/dmd/src/phobos/etc/c/recls' make: *** [etc/c/recls/recls_api.o] Error 2 My gcc Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib x86_64-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-10) Manfred
Mar 10 2005
Manfred Hansen wrote:is dmd running under linux amd64?[...] Look at the prerequisites at the download page: 32-bit linux -manfred
Mar 10 2005