www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Tangobos += existence

reply Gregor Richards <Richards codu.org> writes:
Tangobos is a compatibility layer to allow most Phobos code to compile 
of Tango. I've committed the first real revision of tangobos at 
http://www.dsource.org/projects/tangobos/ . I've only tested it on 
GDC+Posix, which is why this isn't a real release, but it ought to work 
on other systems. It won't, but it should :)

  - Gregor Richards
Apr 18 2007
next sibling parent Davidl <Davidl 126.com> writes:
great work , i would test it as soon as i have some time

 Tangobos is a compatibility layer to allow most Phobos code to compile  
 of Tango. I've committed the first real revision of tangobos at  
 http://www.dsource.org/projects/tangobos/ . I've only tested it on  
 GDC+Posix, which is why this isn't a real release, but it ought to work  
 on other systems. It won't, but it should :)

   - Gregor Richards
Apr 18 2007
prev sibling parent reply torhu <fake address.dude> writes:
Trying to build tangobos on win32, dmd:

Command line: dsss build tangobos

Ouput:

Creating imports for crc32

Creating imports for tangobos

Creating imports for tangobos-etc

std => tangobos
+ C:\prog\dsss-dmd\bin\rebuild.exe -Idsss_imports\ -I. -S.\ 
-IC:\prog\dsss-dmd\i
nclude\d -SC:\prog\dsss-dmd\lib\   -oqdsss_objs 
-version=PhobosCompatibility dss
s_objs/_crc32.o  -explicit -lib -full std\array.d std\asserterror.d 
std\base64.d
  std\bind.d std\bitarray.d std\boxer.d std\c\fenv.d std\c\locale.d 
std\c\math.d
std\c\process.d std\c\stdarg.d std\c\stddef.d std\c\stdio.d 
std\c\stdlib.d std\c
\string.d std\c\time.d std\c\windows\com.d std\c\windows\stat.d 
std\c\windows\wi
ndows.d std\c\windows\winsock.d std\compat.d std\compiler.d std\conv.d 
std\cpuid
.d std\cstream.d std\ctype.d std\date.d std\dateparse.d std\demangle.d 
std\file.
d std\format.d std\intrinsic.d std\loader.d std\math.d std\math2.d 
std\md5.d std
\mmfile.d std\openrj.d std\outbuffer.d std\outofmemory.d std\path.d 
std\perf.d s
td\process.d std\random.d std\regexp.d std\signals.d std\socket.d 
std\socketstre
am.d std\stdarg.d std\stdint.d std\stdio.d std\stream.d std\string.d 
std\switche
rr.d std\syserror.d std\system.d std\thread.d std\traits.d 
std\typetuple.d std\u
ni.d std\uri.d std\utf.d std\windows\charset.d std\windows\iunknown.d 
std\window
s\registry.d std\windows\syserror.d std\zip.d std\zlib.d -ofStangobos.lib
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: dsss_objs/_crc32.o : No such file or directory
Command C:\prog\dsss-dmd\bin\rebuild.exe returned with code -1, aborting.
Apr 23 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
torhu wrote:
 Trying to build tangobos on win32, dmd:
 
 Command line: dsss build tangobos
 
 Ouput:
 
 Creating imports for crc32
 
 Creating imports for tangobos
 
 Creating imports for tangobos-etc
 
 std => tangobos
 s\registry.d std\windows\syserror.d std\zip.d std\zlib.d -ofStangobos.lib
 Digital Mars Librarian Version 8.02n
 Copyright (C) Digital Mars 2000-2007 All Rights Reserved
 http://www.digitalmars.com/ctg/lib.html
 ...
 Error: dsss_objs/_crc32.o : No such file or directory
 Command C:\prog\dsss-dmd\bin\rebuild.exe returned with code -1, aborting.
I get a slightly different error. Can't find std\gc.d: F:\usr\pkg\Dlang\dmd\import\tangobos>dsss build -dc=dmd-win-tango tangobos Creating imports for crc32 Creating imports for tangobos Creating imports for tangobos-etc std => tangobos + f:\usr\pkg\Dlang\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -If:\usr\pkg\Dl ang\dsss\include\d -Sf:\usr\pkg\Dlang\dsss\lib\ -dc=dmd-win-tango -oqdsss_objs -version=PhobosCompatibility dsss_objs/_crc32.o -explicit -lib -full std\windo ws\iunknown.d std\windows\registry.d std\windows\syserror.d std\windows\charset. d std\c\windows\winsock.d std\c\windows\com.d std\c\windows\windows.d std\c\wind ows\stat.d std\c\fenv.d std\c\process.d std\c\time.d std\c\locale.d std\c\stdlib .d std\c\stdio.d std\c\stdarg.d std\c\string.d std\c\math.d std\c\stddef.d std\c stream.d std\intrinsic.d std\zip.d std\cpuid.d std\socketstream.d std\stdint.d s td\loader.d std\string.d std\traits.d std\dateparse.d std\switcherr.d std\math2. d std\bitarray.d std\process.d std\array.d std\stdio.d std\system.d std\outofmem ory.d std\md5.d std\math.d std\stream.d std\typetuple.d std\uni.d std\openrj.d s td\utf.d std\uri.d std\signals.d std\zlib.d std\outbuffer.d std\conv.d std\threa d.d std\mmfile.d std\compiler.d std\asserterror.d std\demangle.d std\bind.d std\ date.d std\file.d std\boxer.d std\random.d std\compat.d std\base64.d std\ctype.d std\stdarg.d std\format.d std\socket.d std\syserror.d std\regexp.d std\perf.d s td\path.d -ofStangobos.lib std\zlib.d(19): module gc cannot read file 'std\gc.d' Command f:\usr\pkg\Dlang\dsss\bin\rebuild.exe returned with code 1, aborting.
Apr 25 2007
parent reply torhu <fake address.dude> writes:
Bill Baxter wrote:
 I get a slightly different error.  Can't find std\gc.d:
It's just bunch of lines like this that use it: 'std.gc.hasNoPointers(destbuf.ptr);', I just commented them out. There were a couple of simple changes like that I needed to do to get to the point where I'm stuck now.
Apr 25 2007
parent reply Gregor Richards <Richards codu.org> writes:
torhu wrote:
 Bill Baxter wrote:
 I get a slightly different error.  Can't find std\gc.d:
It's just bunch of lines like this that use it: 'std.gc.hasNoPointers(destbuf.ptr);', I just commented them out. There were a couple of simple changes like that I needed to do to get to the point where I'm stuck now.
Could you post that patch to http://www.dsource.org/projects/tangobos/newticket ? I'll look at the other problem when I get the chance. - Gregor Richards PS: I do believe I mentioned I hadn't tested it on Windows ^^
Apr 25 2007
parent torhu <fake address.dude> writes:
Gregor Richards wrote:
 Could you post that patch to 
 http://www.dsource.org/projects/tangobos/newticket ? I'll look at the 
 other problem when I get the chance.
 
   - Gregor Richards
 
 PS: I do believe I mentioned I hadn't tested it on Windows ^^
I know. ;)
Apr 26 2007