build problem [message #637607] |
Sun, 07 November 2010 13:50  |
Eclipse User |
|
|
|
Hi,
I am kind of new at using Eclipse CDT4 on Mac, I am trying to compile and run a simple piece of C++ code on it, everything seems fine but I am constantly getting some error during the build process.
The error is in the following form:
ld: unknown option: -oCPP
where CPP is the project name. I know for sure that this problem is due to the loss of space between -o and CPP, but I am not able to find any option wherein I can edit it.
Can someone please help me out with this issue.
Thanks!
Phani Srikar Ganti
|
|
|
|
|
Re: build problem [message #638367 is a reply to message #638349] |
Wed, 10 November 2010 22:28   |
Eclipse User |
|
|
|
I don't know if I understand your problem fully, but I'm going to go out on a limb and say that to edit the format for compiling the code, you might want to:
right click your project
go to the properties tab
go to C/C++ build and expand it (of course you can look around at the other tabs maybe the problem resides in one of them)
go to the settings
then click on the tool settings tab
a list will come up including C++ Linker, GCC Assembler, C++ Compiler, and C Compiler
perhaps your problem could be in there, preferably under the compiler since you want to, " find the option where [you] can edit the format for compiling the code"
I hope this helped, if not, my bad =/
Anyways Happy Coding. =)
-E
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05173 seconds