www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - Pagesize Catch-22

reply Mike James <foo bar.com> writes:
I had to increase the pagesize to 2048 to get DWT-Win to build, nothing smaller
would work. I copied a hello world program and dsss.conf file to a new
directory and tried to build and I get the following error...

 
C:\dProjects\tryDWT>dsss build
main.d => main
+ c:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -Ic:\dsss\include\d
-Sc:\dsss\lib\  -Ic:\dsss\include\d -Sc:\dsss\lib
  -oqdsss_objs\D -g -gc -J../res -Ic:/dwt-win -Jc:/dwt-win/res
-L/SUBSYSTEM:console:5 -L/rc:..\dwt main.d -ofmain
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
c:\dsss\lib\\DD-dwt.lib
 Warning 178: .LIB pagesize exceeds 512
c:\dsss\lib\\DD-tango-core.lib
 Warning 178: .LIB pagesize exceeds 512
c:\dsss\lib\\DD-tango-stdc.lib
 Warning 178: .LIB pagesize exceeds 512
c:\dsss\lib\\DD-tango-io.lib
 Warning 178: .LIB pagesize exceeds 512
^C--- errorlevel -1073741510
Command c:\dsss\bin\rebuild.exe returned with code -1073741510, aborting.
Er^C^C
C:\dProjects\tryDWT>


I had to Ctl-C it to stop it. It is complaining that the pagesize is too large.
Is this a linker 'feature'?


Regards, Mike.
Apr 01 2009
parent Frank Benoit <keinfarbton googlemail.com> writes:
Mike James schrieb:
 I had to increase the pagesize to 2048 to get DWT-Win to build, nothing
smaller would work. I copied a hello world program and dsss.conf file to a new
directory and tried to build and I get the following error...
 
  
 C:\dProjects\tryDWT>dsss build
 main.d => main
 + c:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -Ic:\dsss\include\d
-Sc:\dsss\lib\  -Ic:\dsss\include\d -Sc:\dsss\lib
   -oqdsss_objs\D -g -gc -J../res -Ic:/dwt-win -Jc:/dwt-win/res
-L/SUBSYSTEM:console:5 -L/rc:..\dwt main.d -ofmain
 OPTLINK (R) for Win32  Release 8.00.1
 Copyright (C) Digital Mars 1989-2004  All rights reserved.
 c:\dsss\lib\\DD-dwt.lib
  Warning 178: .LIB pagesize exceeds 512
 c:\dsss\lib\\DD-tango-core.lib
  Warning 178: .LIB pagesize exceeds 512
 c:\dsss\lib\\DD-tango-stdc.lib
  Warning 178: .LIB pagesize exceeds 512
 c:\dsss\lib\\DD-tango-io.lib
  Warning 178: .LIB pagesize exceeds 512
 ^C--- errorlevel -1073741510
 Command c:\dsss\bin\rebuild.exe returned with code -1073741510, aborting.
 Er^C^C
 C:\dProjects\tryDWT>
 
 
 I had to Ctl-C it to stop it. It is complaining that the pagesize is too
large. Is this a linker 'feature'?
 
 
 Regards, Mike.
 

When I use dwt-win/addons, i used it all the time directly. That is, without building libs and just putting the sources into the -I paths. Well, it worked for me. But certainly, it would be much better if the lib stuff would work better. I still don't know what the pagesize is :/
Apr 02 2009