FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

lsp file issue

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
BenHinkle



Joined: 27 Mar 2004
Posts: 76

PostPosted: Tue Mar 22, 2005 10:01 pm    Post subject: lsp file issue Reply with quote

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
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Tue Mar 22, 2005 11:30 pm    Post subject: Re: lsp file issue Reply with quote

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?

Embarassed 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 Crying or Very sad
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Wed Mar 23, 2005 1:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Wed Mar 23, 2005 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group