Might b e a bit OT, but I know there's lots of you who can help
quickly.
Is there any way to let gcc/g++ output the .o files in a folder I can
specify?
Thank you for not flaming,
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} 4 12127
Gernot Frisch wrote: Might b e a bit OT, but I know there's lots of you who can help quickly.
Is there any way to let gcc/g++ output the .o files in a folder I can specify?
What's wrong with g++ followed by a cp? Thank you for not flaming,
-Gernot int main(int argc, char** argv) {printf ("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
Gernot Frisch wrote: Might b e a bit OT, but I know there's lots of you who can help quickly.
Is there any way to let gcc/g++ output the .o files in a folder I can specify?
-o is a common compiler switch to specify the output file name.
--
Ian Collins. Is there any way to let gcc/g++ output the .o files in a folder I can specify?
What's wrong with g++ followed by a cp?
in my case "mv". The files are generated in the directory of the
g++.exe. But the compiler directory might be read only to a normal
user, so it would be nice if I could tell it to use another one in the
first place...
On Wed, 19 Apr 2006 11:45:55 +0200, Gernot Frisch wrote: Is there any way to let gcc/g++ output the .o files in a folder I can specify?
What's wrong with g++ followed by a cp?
in my case "mv". The files are generated in the directory of the g++.exe. But the compiler directory might be read only to a normal user, so it would be nice if I could tell it to use another one in the first place...
I think you'll find they're placed in the current directory, not the
directory containing gcc. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Etienne Charland |
last post by:
Hi, I have a solution containing 6 C# projects; 1 WinForms project and 5
class libraries. I didn't have any problems until recently. I added a new
project containing reports. I am using...
|
by: fang |
last post by:
Really confusing, I am using visual stdio C++ 6.0
I add a new project file into my current workspace. If I use the
default output directory like default and release, everything works
fine. But...
|
by: Wescotte |
last post by:
I'm writing a tiny php app that will log into our bank of america
account and retrieve a file containing a list of checks that cleared
the previous day. The problem I'm running into is when I...
|
by: Mountain Bikn' Guy |
last post by:
I am having serious problems with the following IDE bug:
Could not write to output file 'x.dll' -- 'The process cannot access the
file because it is being used by another process. '
and
BUG:...
|
by: Bryan Glennon |
last post by:
I have a solution with a web app and a web service. There is a virtual
directory set up on my local server, //localhost/foo and it points to my
development directory, c:\blah\blah\foo. When I...
|
by: Verane |
last post by:
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for...
|
by: lqnt1981 |
last post by:
Following is the code in python that opens all files under a directories and puts a comma in place of whitespace, I can see the output on the command line, but I am not sure what to do in order to...
|
by: Paul Hemans |
last post by:
VS2005...
I need to persist a database between builds, while in development.
The problem is that the mdf file is being deleted whenever I start the
application from VS. There is a setting on the...
|
by: David V |
last post by:
I'm having trouble copying DLLs from a folder in my project to the
project's output directory.
I have copied seven SQL CE DLLs (the SqlCe*.dll set) to a Libs folder
in my project. The DLLs VS...
|
by: rahulsengupta895 |
last post by:
I get this error when i compile the file driver.cpp which is linked to video.cpp.. both programs are visual c++ codes and are attached below for reference .
1>TutorialExample : error PRJ0007 :...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |