Well, bcc32.cfg worked fine, but..... the real problem was with the turbo linker. It uses ilink32.cfg, which currently has this:
Code:
-L"D:\Compilers\Borland\Lib"
I added the DX lib folder, so it now looks like this:
Code:
-L"D:\Compilers\Borland\Lib"
-L"D:\DXSDK\Lib"
Without the second lib declaration, the first error I had is created. With this new addition, here is what I get:
Code:
Borland C++ Compiler Blahblah
........
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Expected an option: LD:\DXSDK\Lib
I get no errors from the actual compiler. Thanks all !
EDIT:
so bcc32.cfg has:
Code:
-I"D:\Compilers\Borland\Include"
-L"D:\Compilers\Borland\Lib"
-I"D:\DXSDK\Include"
-L"D:\DXSDK\Lib"
and ilink32.cfg has:
Code:
-L"D:\Compilers\Borland\Lib"
-L"D:\DXSDK\Lib"