Pagesize Catch-22

Mike James foo at
Wed Apr 1 12:50:35 PDT 2009

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.
 Warning 178: .LIB pagesize exceeds 512
 Warning 178: .LIB pagesize exceeds 512
 Warning 178: .LIB pagesize exceeds 512
 Warning 178: .LIB pagesize exceeds 512
^C--- errorlevel -1073741510
Command c:\dsss\bin\rebuild.exe returned with code -1073741510, aborting.

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.

More information about the Digitalmars-d-dwt mailing list