Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT 2.0 on eclipse 3.0 on OSX 10.3.2
CDT 2.0 on eclipse 3.0 on OSX 10.3.2 [message #114438] Thu, 05 August 2004 18:02 Go to next message
Eclipse UserFriend
Originally posted by: gunnar.stahl.gunnarstahl.org

Hi,
today I've downloaded the cdt 2.0 for eclipse and tried the helloworld
tutorial. When trying to build it I get the message:

make -k all
Building target: HalloWelt
g++ -oHalloWelt main.o
ld: unknown flag: -oHalloWelt
make: *** [HalloWelt] Error 1
make: Target `all' not remade because of errors.
Build complete for project HalloWelt

When doing the build commands on the command line (g++ -oHalloWelt
main.o) I get the same error message (ld: unknown flag: -oHalloWelt).
When adding a blank between the "-o" and the "HalloWelt" everything is
fine (g++ -o HalloWelt main.o).

Maybe anybody can help me what to do ?

Thanks in advance!
Re: CDT 2.0 on eclipse 3.0 on OSX 10.3.2 [message #114548 is a reply to message #114438] Fri, 06 August 2004 09:26 Go to previous messageGo to next message
Eclipse UserFriend
Gunar,
This has been covered several times on the newsgroup. Do a search on
previous threads for the reasons, and refer to bugzilla 69575 for the
temporary work-around.

Sean

Gunnar Stahl wrote:

> Hi,
> today I've downloaded the cdt 2.0 for eclipse and tried the helloworld
> tutorial. When trying to build it I get the message:
>
> make -k all
> Building target: HalloWelt
> g++ -oHalloWelt main.o
> ld: unknown flag: -oHalloWelt
> make: *** [HalloWelt] Error 1
> make: Target `all' not remade because of errors.
> Build complete for project HalloWelt
>
> When doing the build commands on the command line (g++ -oHalloWelt
> main.o) I get the same error message (ld: unknown flag: -oHalloWelt).
> When adding a blank between the "-o" and the "HalloWelt" everything is
> fine (g++ -o HalloWelt main.o).
>
> Maybe anybody can help me what to do ?
>
> Thanks in advance!
Re: CDT 2.0 on eclipse 3.0 on OSX 10.3.2 [message #114646 is a reply to message #114548] Sat, 07 August 2004 17:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gunnar.stahl.gunnarstahl.org

Thanks, this helped a lot. At least I now can build. But now a second
issue arrived. Eclipse doesn't recognize the binaries as binaries.
Therefore, after building my HelloWorld successfully I have no way of
executing / debugging it.
Any Idea?

Thanks!

Gunnar


Sean Evoy wrote:
> Gunar,
> This has been covered several times on the newsgroup. Do a search on
> previous threads for the reasons, and refer to bugzilla 69575 for the
> temporary work-around.
>
> Sean
>
> Gunnar Stahl wrote:
>
>> Hi,
>> today I've downloaded the cdt 2.0 for eclipse and tried the helloworld
>> tutorial. When trying to build it I get the message:
>>
>> make -k all
>> Building target: HalloWelt
>> g++ -oHalloWelt main.o
>> ld: unknown flag: -oHalloWelt
>> make: *** [HalloWelt] Error 1
>> make: Target `all' not remade because of errors.
>> Build complete for project HalloWelt
>>
>> When doing the build commands on the command line (g++ -oHalloWelt
>> main.o) I get the same error message (ld: unknown flag: -oHalloWelt).
>> When adding a blank between the "-o" and the "HalloWelt" everything is
>> fine (g++ -o HalloWelt main.o).
>>
>> Maybe anybody can help me what to do ?
>>
>> Thanks in advance!
Re: CDT 2.0 on eclipse 3.0 on OSX 10.3.2 [message #114745 is a reply to message #114646] Mon, 09 August 2004 06:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.milne.vissci.com

Gunnar Stahl wrote:
> Thanks, this helped a lot. At least I now can build. But now a second
> issue arrived. Eclipse doesn't recognize the binaries as binaries.
> Therefore, after building my HelloWorld successfully I have no way of
> executing / debugging it.
> Any Idea?

Not much you can do there, at the moment.

CDT presently doesn't have any support for parsing Mach-O executables.
It's something I've been looking at contributing.

--
James Milne
Re: CDT 2.0 on eclipse 3.0 on OSX 10.3.2 [message #114795 is a reply to message #114745] Mon, 09 August 2004 17:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gunnar.stahl.gunnarstahl.org

James Milne wrote:
> Gunnar Stahl wrote:
>
>> Thanks, this helped a lot. At least I now can build. But now a second
>> issue arrived. Eclipse doesn't recognize the binaries as binaries.
>> Therefore, after building my HelloWorld successfully I have no way of
>> executing / debugging it.
>> Any Idea?
>
>
> Not much you can do there, at the moment.
>
> CDT presently doesn't have any support for parsing Mach-O executables.
> It's something I've been looking at contributing.
>
> --
> James Milne
Can I help here? I'm a professional java developer. Not much knowledge
about eclipse, but I know java.

Greetings,

Gunnar
Re: CDT 2.0 on eclipse 3.0 on OSX 10.3.2 [message #116171 is a reply to message #114795] Wed, 18 August 2004 12:04 Go to previous message
Eclipse UserFriend
Originally posted by: james.milne.vissci.com

Gunnar Stahl wrote:

> James Milne wrote:
>
>> Gunnar Stahl wrote:
>>
>>> Thanks, this helped a lot. At least I now can build. But now a second
>>> issue arrived. Eclipse doesn't recognize the binaries as binaries.
>>> Therefore, after building my HelloWorld successfully I have no way of
>>> executing / debugging it.
>>> Any Idea?
>>
>>
>>
>> Not much you can do there, at the moment.
>>
>> CDT presently doesn't have any support for parsing Mach-O executables.
>> It's something I've been looking at contributing.
>>
>> --
>> James Milne
>
> Can I help here? I'm a professional java developer. Not much knowledge
> about eclipse, but I know java.
>
> Greetings,
>
> Gunnar

Hi Gunnar,

Sure- would be quite happy to have some contributions. The file format
for Mach-O is fairly well documented, so it shouldn't be a big job
really, and we have reference implementations for AIX's XCOFF that we
can use to see how a binary format handler should be written.

--
James Milne
Previous Topic:How to compile visual studio project in eclipse?
Next Topic:"Global" refresh
Goto Forum:
  


Current Time: Tue Jul 22 08:24:55 EDT 2025

Powered by FUDForum. Page generated in 0.10038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top