View previous topic :: View next topic |
Author |
Message |
Steve
Joined: 23 Feb 2007 Posts: 73
|
Posted: Mon Nov 23, 2015 6:34 pm Post subject: Using LO when SLINK a DLL |
|
|
My LNK file is as follows
MAP WINFred.MAP
PERMIT_DUPLICATES
NOSIZEWARNING
DLL
LO C:\Fred.BETA\OBJ\*.OBJ
LO G:\Fred\BETA\RC\WINFredRC.OBJ
LO G:\Fred\BETA\DLL\FredWNTAB.DLL
LO G:\Fred\BETA\DLL\VERSION.DLL
LO C:\WINDOWS\SYSTEM32\DK2WIN32.DLL
LO G:\Fred\BETA\DLL\AVIFIL32.DLL
LO G:\Fred\BETA\DLL\MSPORTS.DLL
EXPORTALL
FILE WINFred
For many years now, this has not caused a problem.
All of a sudden, the LO C:\Fred.BETA\OBJ\*.OBJ statement comes back - in my MAP - with
*** Could not open: C:\Fred.BETA\OBJ\*.OBJ
The only clue I have is that this folder now has just over 1400 OBJ files.
Is this a problem ? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Nov 23, 2015 6:47 pm Post subject: |
|
|
It could be but if it is then you may be running out of memory.
Is the failure delayed when you reduce the number of obj files in the folder? |
|
Back to top |
|
|
Steve
Joined: 23 Feb 2007 Posts: 73
|
Posted: Tue Nov 24, 2015 10:25 am Post subject: |
|
|
Thanks Paul
I have removed a few OBJ that I know are not required and...SLINK works fine. Memory does not seem to be an issue, so I wonder if the number of items is the problem.
This may be the time to split the system into smaller DLLs ? |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Tue Nov 24, 2015 7:00 pm Post subject: |
|
|
If your build stopped because of a limit on the number of OBJ files input to SLINK, you could combine a couple of hundred OBJ files into a static LIB file, and use the LIB file instead of those OBJ files. If this works, you will be able to use the same number of DLLs (1 ?) as at present. |
|
Back to top |
|
|
|