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

bud path and config file

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



Joined: 29 Jun 2007
Posts: 1

PostPosted: Fri Jun 29, 2007 4:33 pm    Post subject: bud path and config file Reply with quote

hello,
I'm trying to use bud with gdc, i use a config file found on this forum which work fine.
But when i directly run bud from a console i get an error whereas if i run it with full path, it work well:
build build -full -op -> return gdc: cannot specify -o with -c or -S with multiple files
/usr/bin/build build -full -op -> work fine

It seems no to use the config file in the first case.
there is everywhere explanation on how to compil bud but none on how to install it.
Is there a way to install it correctly and how to set application path (that is the first place where it should search for the config file)

Thanks in advance
Back to top
View user's profile Send private message
Derek Parnell



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

PostPosted: Sun Jul 01, 2007 5:57 pm    Post subject: Re: bud path and config file Reply with quote

vubun wrote:
hello,
I'm trying to use bud with gdc, i use a config file found on this forum which work fine.
But when i directly run bud from a console i get an error whereas if i run it with full path, it work well:
build build -full -op -> return gdc: cannot specify -o with -c or -S with multiple files
/usr/bin/build build -full -op -> work fine

It seems no to use the config file in the first case.
there is everywhere explanation on how to compil bud but none on how to install it.
Is there a way to install it correctly and how to set application path (that is the first place where it should search for the config file)

This is what I have done ...
* I placed the Bud executable in the directory of my choice (Y:\util in my case)
* I added that diretory to the PATH symbol that gets set when I log in.
* I placed the Bud config file into the same direcory as the executeable.
* I never use the -op switch (Can't see the point of it)
* I use -clean switch to get rid of unwanted object files etc...
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Crispy



Joined: 26 Nov 2005
Posts: 67

PostPosted: Wed Jul 11, 2007 1:15 am    Post subject: Re: bud path and config file Reply with quote

Derek Parnell wrote:
* I never use the -op switch (Can't see the point of it)

It's necessary if you have two different modules with different paths but the same name. If you don't use -op in this situation, the object files will overwrite each other before they get linked, and you'll get errors.
Back to top
View user's profile Send private message
Derek Parnell



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

PostPosted: Wed Jul 11, 2007 5:43 am    Post subject: Re: bud path and config file Reply with quote

Crispy wrote:
Derek Parnell wrote:
* I never use the -op switch (Can't see the point of it)

It's necessary if you have two different modules with different paths but the same name. If you don't use -op in this situation, the object files will overwrite each other before they get linked, and you'll get errors.

LOL - I got mixed up. I meant to say that I never use the -od switch.
_________________
--
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