Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-07

Location of objective-c runtime headers

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

hi,

I translated the objective-c runtime headers. Those headers are the core connection to objective-c and necessary to bind directly to any objective-c library, such as Cocoa. The objective-c runtime API provided by Apple is unique to Mac OS X. On other platforms there is a similar API, but there is no guarantee that they are compatible, so this should only be compiled for Mac OS X.

Where should this be placed on the free pascal sources?

packages/extra/objc ?

or on base?

thanks

Felipe Monteiro de Carvalho

Reply by email

Jonas Maebe
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 10 lines
I translated the objective-c runtime headers. Those headers are the core connection to objective-c and necessary to bind directly to any objective-c library, such as Cocoa. The objective-c runtime API provided by Apple is unique to Mac OS X. On other platforms there is a similar API, but there is no guarantee that they are compatible, so this should only be compiled for Mac OS X. Where should this be placed on the free pascal sources? packages/extra/objc ?

I think FPC svn is the wrong place as primary repository for this, they should be added to the Common Pascal Interfaces svn (just like the universal interfaces) so they can also be easily used and enhanced by the people working on the GPC-compatible versions of the headers. Peter N Lewis on the mac-pascal list is the administrator of that repository.

Jonas

Reply by email

Felipe Monteiro de Carvalho
to Jonas Maebe
Jonas Maebe wrote
they should be added to the Common Pascal Interfaces svn

But they also need to be added to the fpc subversion. How do you synchronize both then?

Felipe Monteiro de Carvalho

Reply by email

Jonas Maebe
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 5 lines
On 7/23/07, Jonas Maebe wrote: > they should be added to the Common Pascal Interfaces svn But they also need to be added to the fpc subversion. How do you synchronize both then?

Manually, just like the rest of the interfaces. Adding them first to the common pascal interfaces svn is mainly symbolic, to make it clear that is the "master" repository (and so that the GPC people can immediately start testing and working on it as well, without running the risk that the version they are using has been updated/changed already in the fpc repository in the mean time).

Jonas

Reply by email

Felipe Monteiro de Carvalho
to Jonas Maebe

Because I already posted this quite some time ago on the mac-pascal mailling list, I am not confident on a quick answer about getting access to the interfaces svn.

And because tomorrow I will be traveling for 2 weeks, without my computer, I propose that I just put it on fpc and you can then copy it to the interfaces svn, or else the headers will be inaccessible in this period.

If it's ok, where should it be put?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Felipe Monteiro de Carvalho
to Jonas Maebe: I think FPC svn is the wrong place as primary repository for this, they should be added…
Jonas Maebe wrote
Peter N Lewis on the mac-pascal list is the administrator of that repository.

I sent him an e-mail 1 month ago without answer.

So, I can't put the bindings on fpc because they need to be put on the interfaces subversion first. But I can't put it on the interfaces subversion because I have no write access.

It seams like a deadlock =)

seriously ... can I just e-mail them to you so you can add them to the correct places?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Adriaan van Os
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 5 lines
On 7/23/07, Jonas Maebe wrote: > Peter N Lewis on the mac-pascal list is the administrator of > that repository. I sent him an e-mail 1 month ago without answer.

I did receive an answer from Peter. I will forward it by private email.

Regards,

Adriaan van Os

Reply by email