port callback example

2011-02-08 Thread James Gregurich
I'm trying to figure out how to add a callback to a port such that the function gets called if it exists. Can someone point me to an example of how to properly set that pattern up? -James ___ macports-users mailing list

Re: port callback example

2011-02-08 Thread James Gregurich
the system working for the existing structure of boost since the whole point of this exercise is to prove the existing structure of macports can be extended to cover the needs of various ports. -James On Feb 8, 2011, at 2:26 PM, Daniel J. Luke wrote: On Feb 8, 2011, at 5:11 PM, James

Re: iOS cross compiling support

2011-01-28 Thread James Gregurich
PM, James Gregurich wrote: archs = armv6 armv7. triplet to compile icu for iOS: arm-apple-darwin. I'm not sure how cross-compiling works in the general case, but the way Apple has it set up for their stuff, you use the compiler from the sdk. I think the default for iOS

Re: iOS cross compiling support

2011-01-28 Thread James Gregurich
= system upon which the product executes. BTW. this discussion can be moved to the developer list if that is desired. -James On Jan 28, 2011, at 2:49 PM, Ryan Schmidt wrote: On Jan 28, 2011, at 13:24, James Gregurich wrote: Is it consistent with the design of macports for me to invoke its

Re: iOS cross compiling support

2011-01-26 Thread James Gregurich
device? -James On Jan 26, 2011, at 2:40 AM, Rainer Müller wrote: On 2011-01-26 00:24 , James Gregurich wrote: howdy! I note that there is a config.guess at: var/macports/sources/rsync.macports.org/release/base/config.guess Is that file part of the macports software stack that I can call

Re: iOS cross compiling support

2011-01-26 Thread James Gregurich
option if he isn't targeting specifically an iOS sdk? On Jan 26, 2011, at 3:14 PM, Rainer Müller wrote: On 2011-01-26 22:11 , James Gregurich wrote: just a thought Is there a way to deduce the information for the triplet by invoking the target's compiler without having to actually run code

Re: iOS cross compiling support

2011-01-25 Thread James Gregurich
J Fuller wrote: On Jan 24, 2011, at 9:37 PM, James Gregurich wrote: hi. I've done the proof-of-concept work on extending macports to handle cross-compiling so that it can be used to maintain 3rd party libs for iOS development. I have successfully built ICU against the iPhone sdk

Re: iOS cross compiling support

2011-01-25 Thread James Gregurich
Giesbrecht wrote: On Jan 25, 2011, at 1:58 PM, James Gregurich wrote: There is one more issue I want to address before I submit. To configure icu for iOS, you have to have --host=arm-apple-darwin as one of the options. I'd like to automatically and generically create the label to pass

Re: iOS cross compiling support

2011-01-25 Thread James Gregurich
? -James On Jan 25, 2011, at 2:59 PM, Rainer Müller wrote: On 2011-01-25 22:58 , James Gregurich wrote: There is one more issue I want to address before I submit. To configure icu for iOS, you have to have --host=arm-apple-darwin as one of the options. I'd like to automatically

iOS cross compiling support

2011-01-24 Thread James Gregurich
hi. I've done the proof-of-concept work on extending macports to handle cross-compiling so that it can be used to maintain 3rd party libs for iOS development. I have successfully built ICU against the iPhone sdk and have it running in the debugger on an iPad. I'd like to turn this work over