Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT on Mac OS X?
CDT on Mac OS X? [message #105928] Fri, 11 June 2004 14:03 Go to next message
Eclipse UserFriend
Originally posted by: cudmore.mac.com

Is anyone working on CDT for Mac OS X?
If so, what is the status and how could I help with a mac port?
Would it be easy to port the Linux/GTK+ version to work on the Mac under X
windows?

Thanks,
alan
Re: CDT on Mac OS X? [message #106045 is a reply to message #105928] Sun, 13 June 2004 14:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sgray.wooster.edu

I am also interested in CDT for Mac OS X and would like to use it in a
class. I have tried
the two Linux versions with Eclipse Platform 2.1.3 Mac OS X Carbon on a
Max G4
running OS X 10.3.4. and, with the exception of getting variable data to
display while
debugging (see post on June 13), they seem to work.

- Simon

Alan Cudmore wrote:

> Is anyone working on CDT for Mac OS X?
> If so, what is the status and how could I help with a mac port?
> Would it be easy to port the Linux/GTK+ version to work on the Mac under X
> windows?

> Thanks,
> alan
Re: CDT on Mac OS X? [message #106290 is a reply to message #106045] Mon, 14 June 2004 16:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cudmore.mac.com

Simon,
How do you use the Linux GTK CDT on Mac OS X? Do you just download it and
install in the mac
eclipse directory structure?

When you run do you need the Fink GTK libs? How about apple's X11?
Or do you download and run the whole Linux eclipse/cdt package?

Thanks,
Alan


Simon Gray wrote:

> I am also interested in CDT for Mac OS X and would like to use it in a
> class. I have tried
> the two Linux versions with Eclipse Platform 2.1.3 Mac OS X Carbon on a
> Max G4
> running OS X 10.3.4. and, with the exception of getting variable data to
> display while
> debugging (see post on June 13), they seem to work.

> - Simon

> Alan Cudmore wrote:

> > Is anyone working on CDT for Mac OS X?
> > If so, what is the status and how could I help with a mac port?
> > Would it be easy to port the Linux/GTK+ version to work on the Mac under X
> > windows?

> > Thanks,
> > alan
Re: CDT on Mac OS X? [message #106356 is a reply to message #106290] Tue, 15 June 2004 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sgray.wooster.edu

Alan,

I did the simplest thing first; I just downloaded the Linux CDT version
and installed it
under the Mac Eclipse directory structure. As indicated, this seems to
work fine except
that when debugging I don't get any information on variables. In fact, the
Variables
window is completely empty.

- Simon


Alan C. wrote:

> Simon,
> How do you use the Linux GTK CDT on Mac OS X? Do you just download it and
> install in the mac
> eclipse directory structure?

> When you run do you need the Fink GTK libs? How about apple's X11?
> Or do you download and run the whole Linux eclipse/cdt package?

> Thanks,
> Alan


> Simon Gray wrote:

> > I am also interested in CDT for Mac OS X and would like to use it in a
> > class. I have tried
> > the two Linux versions with Eclipse Platform 2.1.3 Mac OS X Carbon on a
> > Max G4
> > running OS X 10.3.4. and, with the exception of getting variable data to
> > display while
> > debugging (see post on June 13), they seem to work.

> > - Simon

> > Alan Cudmore wrote:

> > > Is anyone working on CDT for Mac OS X?
> > > If so, what is the status and how could I help with a mac port?
> > > Would it be easy to port the Linux/GTK+ version to work on the Mac under
X
> > > windows?

> > > Thanks,
> > > alan
Re: CDT on Mac OS X? [message #106843 is a reply to message #106356] Sat, 19 June 2004 12:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: caseyboardman.hotmail.com

I just did this from scratch (brand new eclipse 2.1.3, and CDT 1.2) on
10.2 and did the HelloWorld program found at
www.cs.umanitoba.ca/~eclipse/7-EclipseCDT.pdf (well, the steps that
didn't require windows) and I have a simple working program.

I haven't tried debugging or anything fancy. But it does work. Thanks
guys!

-Casey


Simon Gray wrote:
> Alan,
>
> I did the simplest thing first; I just downloaded the Linux CDT version
> and installed it
> under the Mac Eclipse directory structure. As indicated, this seems to
> work fine except
> that when debugging I don't get any information on variables. In fact, the
> Variables
> window is completely empty.
>
> - Simon
>
>
> Alan C. wrote:
>
>
>>Simon,
>>How do you use the Linux GTK CDT on Mac OS X? Do you just download it and
>>install in the mac
>>eclipse directory structure?
>
>
>>When you run do you need the Fink GTK libs? How about apple's X11?
>>Or do you download and run the whole Linux eclipse/cdt package?
>
>
>>Thanks,
>>Alan
>
>
>
>>Simon Gray wrote:
>
>
>>>I am also interested in CDT for Mac OS X and would like to use it in a
>>>class. I have tried
>>>the two Linux versions with Eclipse Platform 2.1.3 Mac OS X Carbon on a
>>>Max G4
>>>running OS X 10.3.4. and, with the exception of getting variable data to
>>>display while
>>>debugging (see post on June 13), they seem to work.
>
>
>>>- Simon
>
>
>>>Alan Cudmore wrote:
>
>
>>>>Is anyone working on CDT for Mac OS X?
>>>>If so, what is the status and how could I help with a mac port?
>>>>Would it be easy to port the Linux/GTK+ version to work on the Mac under
>
> X
>
>>>>windows?
>
>
>>>>Thanks,
>>>>alan
>
>
>
Re: CDT on Mac OS X? [message #106910 is a reply to message #105928] Sun, 20 June 2004 18:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ""alnesbit\".au.edu.unimelb.physics (reverse domain name)"

Alan Cudmore wrote:
> Is anyone working on CDT for Mac OS X?
> If so, what is the status and how could I help with a mac port?
> Would it be easy to port the Linux/GTK+ version to work on the Mac under X
> windows?

I am running Eclipse 3.0RC3 on Mac OS X (10.3). I just pointed the
Install/Update feature of Eclipse to
http://update.eclipse.org/tools/cdt/updates/builds/2.0M9 and the install
seemed to go without a hitch.

Though I must admit that I haven't really sunk my teeth into CDT, yet.
So I can't comment on how well it all works in practice.

Andrew.
Re: CDT on Mac OS X? [message #112202 is a reply to message #105928] Thu, 22 July 2004 18:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hiltmon.hotmail.com

I am running Eclipse 3.0 and CDT. I just used software update on
eclipse to find and install it
("http://update.eclipse.org/tools/cdt/releases/new"). So far, I have
created a 'Hello World" and am finding some issue in the 'Managed Make'
version - have not yet gotten to debugging.
Hilton

On 2004-06-11 14:03:47 -0400, cudmore@mac.com (Alan Cudmore) said:

> Is anyone working on CDT for Mac OS X?
> If so, what is the status and how could I help with a mac port?
> Would it be easy to port the Linux/GTK+ version to work on the Mac under X
> windows?
>
> Thanks,
> alan
Re: CDT on Mac OS X? [message #112360 is a reply to message #112202] Fri, 23 July 2004 12:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.milne.vissci.com

The Hiltmon wrote:
> I am running Eclipse 3.0 and CDT. I just used software update on
> eclipse to find and install it
> ("http://update.eclipse.org/tools/cdt/releases/new"). So far, I have
> created a 'Hello World" and am finding some issue in the 'Managed Make'
> version - have not yet gotten to debugging.

I had a problem using the makefiles generated by the Managed Builder.

When it is generating the link command, it is joining the "-o" flag and
the target exec name together, producing "-oMyApp" instead of
"-o MyApp". The linker on Mac OS X didn't seem to like this, although
passing the same to gcc to compile the source files doesn't complain
and correctly generates the object files.

I fixed this by altering
org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenera tor.java

and changing this part in addRule():
... outputPrefix + OUT_MACRO
to
... outputPrefix + WHITESPACE + OUT_MACRO

This correctly inserts some whitespace between the "-o" and the
executable name and satiates the linker on OS X.

I'll probably report this as a bug this evening.

NOTE: This is using the cdt fetched from CVS as far as I'm aware...

--
James Milne
Xbox Platform Lead
Visual Science, Ltd.
Re: CDT on Mac OS X? [message #112585 is a reply to message #112360] Tue, 27 July 2004 14:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi All,
There is already a bug open on this,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=69575

It also has a work-around listed there.

Sean

James Milne wrote:
> The Hiltmon wrote:
>
>> I am running Eclipse 3.0 and CDT. I just used software update on
>> eclipse to find and install it
>> ("http://update.eclipse.org/tools/cdt/releases/new"). So far, I have
>> created a 'Hello World" and am finding some issue in the 'Managed
>> Make' version - have not yet gotten to debugging.
>
>
> I had a problem using the makefiles generated by the Managed Builder.
>
> When it is generating the link command, it is joining the "-o" flag and
> the target exec name together, producing "-oMyApp" instead of
> "-o MyApp". The linker on Mac OS X didn't seem to like this, although
> passing the same to gcc to compile the source files doesn't complain
> and correctly generates the object files.
>
> I fixed this by altering
> org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenera tor.java
>
> and changing this part in addRule():
> ... outputPrefix + OUT_MACRO
> to
> ... outputPrefix + WHITESPACE + OUT_MACRO
>
> This correctly inserts some whitespace between the "-o" and the
> executable name and satiates the linker on OS X.
>
> I'll probably report this as a bug this evening.
>
> NOTE: This is using the cdt fetched from CVS as far as I'm aware...
>
> --
> James Milne
> Xbox Platform Lead
> Visual Science, Ltd.
Re: CDT on Mac OS X? [message #112902 is a reply to message #112585] Wed, 28 July 2004 15:48 Go to previous messageGo to next message
Eclipse UserFriend
Sean Evoy wrote:
> Hi All,
> There is already a bug open on this,
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=69575
>
> It also has a work-around listed there.

Persisting with that syntax seems bizarre, and the other linker options
don't have a problem with spaces between the option and argument. Would
it not be valid to simply enforce the insertion of a space there?

Or is it because other platforms use the "equals" syntax, and would fail
if there was a space, that function behaves thus?

--
James Milne
Xbox Platform Lead
Visual Science Ltd.
Re: CDT on Mac OS X? [message #112925 is a reply to message #112902] Wed, 28 July 2004 17:16 Go to previous message
Eclipse UserFriend
James,
To give you a brief history of the disappearing whitespace, the pre-2.0
makefile generator was adding it when it created the makefile. This
caused problems for tools that get confused when there is a space
between the flag and output name, and it was "bad" from an architectural
point of view because the makefile generator was arbitrarily doing
something not specified in the tool description. Taking it out did not
seem to cause any of my tests to fail, but I don't have a Mac to test
on, and here we are.

Given that there is no clean way to insert the whitespace into the
manifest (the XML parser strips the trailing whitespaces out of
attributes by design), it looks like the solution is going to be a bit
more involved than I had hoped.

Sean

James Milne wrote:

> Sean Evoy wrote:
>
>> Hi All,
>> There is already a bug open on this,
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=69575
>>
>> It also has a work-around listed there.
>
>
> Persisting with that syntax seems bizarre, and the other linker options
> don't have a problem with spaces between the option and argument. Would
> it not be valid to simply enforce the insertion of a space there?
>
> Or is it because other platforms use the "equals" syntax, and would fail
> if there was a space, that function behaves thus?
>
> --
> James Milne
> Xbox Platform Lead
> Visual Science Ltd.
Previous Topic:Extension-points documentation ??
Next Topic:Managed Make C Project Errors
Goto Forum:
  


Current Time: Sun Aug 31 06:29:02 EDT 2025

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

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

Back to the top