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

Linking problems on Linux

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



Joined: 04 Dec 2004
Posts: 31
Location: Tuebingen, Germany

PostPosted: Wed Jun 28, 2006 7:19 am    Post subject: Linking problems on Linux Reply with quote

I'm trying to build an application that has most of its source files in a subdirectory of the directory containing the main source file. Build puts all of the object files in the CWD, while gcc looks for them in the subdirectory, causing me to get errors like this one:
Code:
gcc: Sofu/Base.o: Datei oder Verzeichnis nicht gefunden

(file or directory not found)

where Base.o would be the correct path to the file.

Is there any way to correct this behavior?
Back to top
View user's profile Send private message
keinfarbton



Joined: 03 Dec 2005
Posts: 224
Location: Stuttgart - Germany

PostPosted: Wed Jun 28, 2006 1:14 pm    Post subject: Reply with quote

try the option -op
Back to top
View user's profile Send private message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Wed Jun 28, 2006 7:43 pm    Post subject: Reply with quote

Just a note: -op may be a workaround; nonetheless, this is an issue that needs to be fixed in 3.02. I updated the ticket on svn.

-JJR
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