View previous topic :: View next topic |
Author |
Message |
randomZ
Joined: 04 Dec 2004 Posts: 31 Location: Tuebingen, Germany
|
Posted: Wed Jun 28, 2006 7:19 am Post subject: Linking problems on Linux |
|
|
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 |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Wed Jun 28, 2006 1:14 pm Post subject: |
|
|
try the option -op |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Wed Jun 28, 2006 7:43 pm Post subject: |
|
|
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 |
|
|
|