www.digitalmars.com         C & C++   DMDScript  

c++ - Link Issue

reply MR <support rnetf.com> writes:
I am linking to create a static library--the process has been working until
recently, when I added new code.

I received the error

C:/DTools/DM/bin/lib.exe -c -n -l C:/UtilDir/Dev/CDev/lib/cLib.lib  C:/TEMP/Link
ObjectList-20090627T121821-xs224.tmp
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: /PAGESIZE:16 is too small

I added the switch /PAGESIZE:32 and now get the following error.

C:/DTools/DM/bin/lib.exe -c -n -l /PAGESIZE:32 C:/UtilDir/Dev/CDev/lib/cLib.lib
 C:/TEMP/LinkObjectList-20090627T121803-xs35s.tmp
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: C:/UtilDir/Dev/CDev/lib/cLib.lib : No such file or directory

What have I done wrong?

Regards.
Jun 27 2009
parent MR <software rnetf.com> writes:
Please IGNORE

I was using the incorrect option for creating a library.
Jun 27 2009