View previous topic :: View next topic |
Author |
Message |
BenHinkle
Joined: 27 Mar 2004 Posts: 76
|
Posted: Tue Mar 22, 2005 10:01 pm Post subject: lsp file issue |
|
|
I tried building MinWin with the following brf file
Code: |
all.d
logging.d
-allobj
-Tminwin.lib
-I..
-lib
-g
|
And it got as far as making a .lsp file that looked roughly like
Code: |
-c
geometry.obj
button.obj
all.obj
C:\d\minwin\minwin.lib
|
And it errored out:
Code: |
Running 'lib @minwin.lsp'
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Error: C:\d\minwin\minwin.lib : No such file or directory
Failed. Return code: 1
|
Is build designed to work with some other lib program or is there a bug in the .lsp file it generates? |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Tue Mar 22, 2005 11:30 pm Post subject: Re: lsp file issue |
|
|
BenHinkle wrote: | I tried building MinWin with the following brf file
Code: |
all.d
logging.d
-allobj
-Tminwin.lib
-I..
-lib
-g
|
And it got as far as making a .lsp file that looked roughly like
Code: |
-c
geometry.obj
button.obj
all.obj
C:\d\minwin\minwin.lib
|
And it errored out:
Code: |
Running 'lib @minwin.lsp'
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Error: C:\d\minwin\minwin.lib : No such file or directory
Failed. Return code: 1
|
Is build designed to work with some other lib program or is there a bug in the .lsp file it generates? |
I screwed it up. The order of the enties in the lsp is wrong. It should be ...
Code: |
-c
C:\d\minwin\minwin.lib
geometry.obj
button.obj
all.obj
|
Okay, I'll fix that in the next hour or so.
One workaround would be to run Build with the -test switch and then edit the lsp file, then run "lib @<whatever>.lsp"
Sorry about that _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Wed Mar 23, 2005 1:25 am Post subject: |
|
|
There will be a delay on fixing the LSP file for library use. I'm having trouble getting 'lib' to work how I need it to. I'm waiting on a response from Walter. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Wed Mar 23, 2005 10:10 pm Post subject: |
|
|
I still haven't got a response from Walter yet, so until I do, I can't get Build to replace objects in a library. So for now, Build can only create a library from scratch.
But anyways, I've fixed the order of the library parameters now. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
|