Critcl on OSX

View: New views
5 Messages — Rating Filter:   Alert me  

Critcl on OSX

by Steve Landers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,

I'm in the process of updating Critcl's OSX support, and have  
implemented the following defaults:

- on an Intel processor, and assuming your SDK supports it (which it  
should), Critcl will generate a universal binary containing 32 and 64  
bit x86 bundles (i.e. -arch i386 -arch x86_64)

- on a powerpc platform, Critcl will generate a dylib containing only  
a powerpc bundle

You can still ask Critcl to generate any of ppc, ppc64, i386 and  
x86_64 (although there is no automatic facility to generate universal  
libraries containing combinations of these - do it manually if you  
need to).

So, to summarise - on Intel generate Intel 32 + 64 bit libraries, on  
PowerPC generate ppc 32 bit libraries.

Does any feel this should be different (I did consider making the  
PowerPC default a universal containing 32 bit powerpc + i386 but  
thought better of it).

Steve



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Re: Critcl on OSX

by Steve Landers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 03/11/2009, at 11:36 AM, Steve Landers wrote:

> You can still ask Critcl to generate any of ppc, ppc64, i386 and
> x86_64 (although there is no automatic facility to generate universal
> libraries containing combinations of these - do it manually if you
> need to).

Not quite manually, but not automatic - I've added two additional  
targets that can be manually selected using the -target option

        -target macosx-most -arch i386 -arch x86_64 -arch ppc
        -target macosx-all -arch i386 -arch x86_64 -arch ppc -arch ppc64

Better names than macosx-most and macosx-all are welcome :)

Steve



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Re: Critcl on OSX

by Hans-Christoph Steiner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Nov 2, 2009, at 10:57 PM, Steve Landers wrote:

>
> On 03/11/2009, at 11:36 AM, Steve Landers wrote:
>
>> You can still ask Critcl to generate any of ppc, ppc64, i386 and
>> x86_64 (although there is no automatic facility to generate universal
>> libraries containing combinations of these - do it manually if you
>> need to).
>
> Not quite manually, but not automatic - I've added two additional
> targets that can be manually selected using the -target option
>
> -target macosx-most -arch i386 -arch x86_64 -arch ppc
> -target macosx-all -arch i386 -arch x86_64 -arch ppc -arch ppc64
>
> Better names than macosx-most and macosx-all are welcome :)
>
> Steve


If you are building on 10.5, then there is also -arch ppc7400.  In  
fact the binaries included in 10.5 don't use "-arch ppc" and uses "-
arch ppc7400" instead since the G4/7400 is the minimum supported CPU  
for 10.5

.hc


----------------------------------------------------------------------------

I have the audacity to believe that peoples everywhere can have three  
meals a day for their bodies, education and culture for their minds,  
and dignity, equality and freedom for their spirits.      - Martin  
Luther King, Jr.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Re: Critcl on OSX

by Kevin Walzer-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/2/09 10:36 PM, Steve Landers wrote:

> Hi folks,
>
> I'm in the process of updating Critcl's OSX support, and have
> implemented the following defaults:
>
> - on an Intel processor, and assuming your SDK supports it (which it
> should), Critcl will generate a universal binary containing 32 and 64
> bit x86 bundles (i.e. -arch i386 -arch x86_64)
>
> - on a powerpc platform, Critcl will generate a dylib containing only
> a powerpc bundle
>
> You can still ask Critcl to generate any of ppc, ppc64, i386 and
> x86_64 (although there is no automatic facility to generate universal
> libraries containing combinations of these - do it manually if you
> need to).
>
> So, to summarise - on Intel generate Intel 32 + 64 bit libraries, on
> PowerPC generate ppc 32 bit libraries.
>
> Does any feel this should be different (I did consider making the
> PowerPC default a universal containing 32 bit powerpc + i386 but
> thought better of it).
>
> Steve
>

Is there a download link for the new critcl?

--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Re: Critcl on OSX

by Steve Landers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 04/11/2009, at 10:43 PM, Kevin Walzer <kw@...> wrote:

> On 11/2/09 10:36 PM, Steve Landers wrote:
>> Hi folks,
>>
>> I'm in the process of updating Critcl's OSX support, and have
>> implemented the following defaults:
>>
>> - on an Intel processor, and assuming your SDK supports it (which it
>> should), Critcl will generate a universal binary containing 32 and 64
>> bit x86 bundles (i.e. -arch i386 -arch x86_64)
>>
>> - on a powerpc platform, Critcl will generate a dylib containing only
>> a powerpc bundle
>>
>> You can still ask Critcl to generate any of ppc, ppc64, i386 and
>> x86_64 (although there is no automatic facility to generate universal
>> libraries containing combinations of these - do it manually if you
>> need to).
>>
>> So, to summarise - on Intel generate Intel 32 + 64 bit libraries, on
>> PowerPC generate ppc 32 bit libraries.
>>
>> Does any feel this should be different (I did consider making the
>> PowerPC default a universal containing 32 bit powerpc + i386 but
>> thought better of it).
>>
>> Steve
>>
>
> Is there a download link for the new critcl?

For now - http://www.digitalsmarties.com/pub/critcl.kit

>
> --Kevin
>
> --  
> Kevin Walzer
> Code by Kevin
> http://www.codebykevin.com
>
> ---
> ---
> ---
> ---------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Tcl-mac mailing list
> tcl-mac@...
> https://lists.sourceforge.net/lists/listinfo/tcl-mac

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac