Sign in Join

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

Mailing lists / lazarus / 2010-01

64-bit Migration (fpc/laz)

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

London Disney

Could anyone direct me to the right person for these please? Some of them are FPC-user related vs. -developer related but I like to ask them all in one
post.

a) How do we use fpc/laz to make Mach-O fat binaries? b) Which versions was the first to support Intel Macs and which version was the first to support G5 64-bit PPC ?
c) How did the community made a tranition to G5 as well as the Intel Macs in terms of related modifications in the original FPC compilers (which sections in general, was it the fpc itself or did you use other compilers, etc )? d) I am still not used to Cocoa and Objective-C (Intel Leopard 10.5) however it makes sense for me to ask how does fpc/laz link to the Cocoa libraries/frameworks? So for instance under WinTel there's the C/C++ DLLs and the compiler can use the right calling conventions (WIN_API) to coimmunicate with them (as an interface) -- so what's the mechanism for MacOSX ? LCL does use Cocoa doesn't it ? and if I'm not wrong Cocoa is mostly or totally in ObjC...

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100110/0a927507/attachment.html>

Reply by email

Phil Hess
to London Disney

(a) through (c) might better be directed to the FPC developers.

Re. (d), Lazarus currently uses the Carbon frameworks for its GUI on Mac. A new Cocoa-based widgetset has been started. This new widgetset uses the new Objective C support in FPC:

http://wiki.freepascal.org/FPC_PasCocoa

Note this is much more sophisticated and powerful than the Win API, which is just a "flat" function-based interface. With the ObjC support, the Cocoa classes can be used directly.

Thanks.

-Phil

----- "London Disney" wrote 31 lines
Could anyone direct me to the right person for these please? Some of them are FPC-user related vs. -developer related but I like to ask them all in one post. a) How do we use fpc/laz to make Mach-O fat binaries? b) Which versions was the first to support Intel Macs and which version was the first to support G5 64-bit PPC ? c) How did the community made a tranition to G5 as well as the Intel Macs in terms of related modifications in the original FPC compilers (which sections in general, was it the fpc itself or did you use other compilers, etc )? d) I am still not used to Cocoa and Objective-C (Intel Leopard 10.5) however it makes sense for me to ask how does fpc/laz link to the Cocoa libraries/frameworks? So for instance under WinTel there's the C/C++ DLLs and the compiler can use the right calling conventions (WIN_API) to coimmunicate with them (as an interface) -- so what's the mechanism for MacOSX ? LCL does use Cocoa doesn't it ? and if I'm not wrong Cocoa is mostly or totally in ObjC... thanks -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

London Disney
to Phil Hess

@Phil

So do you mean that there is another online document for Carbon bindings as well ?
May be

http://wiki.lazarus.freepascal.org/Carbon_interface_internals

Phil Hess wrote 57 lines
(a) through (c) might better be directed to the FPC developers. Re. (d), Lazarus currently uses the Carbon frameworks for its GUI on Mac. A new Cocoa-based widgetset has been started. This new widgetset uses the new Objective C support in FPC: http://wiki.freepascal.org/FPC_PasCocoa Note this is much more sophisticated and powerful than the Win API, which is just a "flat" function-based interface. With the ObjC support, the Cocoa classes can be used directly. Thanks. -Phil ----- "London Disney" wrote: > Could anyone direct me to the right person for these please? Some of > them > are FPC-user related vs. -developer related but I like to ask them all > in one > post. > > a) How do we use fpc/laz to make Mach-O fat binaries? > b) Which versions was the first to support Intel Macs and which > version was the first to support G5 64-bit PPC ? > c) How did the community made a tranition to G5 as well as > the Intel Macs in terms of related modifications in the > original FPC compilers (which sections in general, was it > the fpc itself or did you use other compilers, etc )? > d) I am still not used to Cocoa and Objective-C (Intel Leopard 10.5) > however it makes sense for me to ask how does fpc/laz link to > the Cocoa libraries/frameworks? So for instance under > WinTel there's the C/C++ DLLs and the compiler can > use the right calling conventions (WIN_API) to coimmunicate > with them (as an interface) -- so what's the mechanism > for MacOSX ? LCL does use Cocoa doesn't it ? and if > I'm not wrong Cocoa is mostly or totally in ObjC... > > > thanks > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100110/b60ce428/attachment.html>

Reply by email

Phil Hess
to London Disney

Yes, and this topic covers universal binaries too:

http://wiki.lazarus.freepascal.org/Carbon_Interface

Thanks.

-Phil

----- "London Disney" wrote 88 lines
@Phil So do you mean that there is another online document for Carbon bindings as well ? May be http://wiki.lazarus.freepascal.org/Carbon_interface_internals On Sun, Jan 10, 2010 at 3:08 PM, Phil Hess < > wrote: (a) through (c) might better be directed to the FPC developers. Re. (d), Lazarus currently uses the Carbon frameworks for its GUI on Mac. A new Cocoa-based widgetset has been started. This new widgetset uses the new Objective C support in FPC: http://wiki.freepascal.org/FPC_PasCocoa Note this is much more sophisticated and powerful than the Win API, which is just a "flat" function-based interface. With the ObjC support, the Cocoa classes can be used directly. Thanks. -Phil ----- "London Disney" < > wrote: > Could anyone direct me to the right person for these please? Some of > them > are FPC-user related vs. -developer related but I like to ask them all > in one > post. > > a) How do we use fpc/laz to make Mach-O fat binaries? > b) Which versions was the first to support Intel Macs and which > version was the first to support G5 64-bit PPC ? > c) How did the community made a tranition to G5 as well as > the Intel Macs in terms of related modifications in the > original FPC compilers (which sections in general, was it > the fpc itself or did you use other compilers, etc )? > d) I am still not used to Cocoa and Objective-C (Intel Leopard 10.5) > however it makes sense for me to ask how does fpc/laz link to > the Cocoa libraries/frameworks? So for instance under > WinTel there's the C/C++ DLLs and the compiler can > use the right calling conventions (WIN_API) to coimmunicate > with them (as an interface) -- so what's the mechanism > for MacOSX ? LCL does use Cocoa doesn't it ? and if > I'm not wrong Cocoa is mostly or totally in ObjC... > > > thanks > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email