[Stk] building libstk on OSX as Intel or Universal
sinclair at music.mcgill.ca
Sun Apr 6 16:30:25 PDT 2008
Gary and I discussed this briefly.
In his experience, it's always compiled on intel macs without the need
for any extra flags. Did it work for you at all without any flags, or
did it not work at all without the -march flag?
I think I've got a macbook pro in the lab, so I'll try to test it myself.
I'm sure there must be a standard way to test for the required -march flags.
Jerzy Gangi wrote:
> 1) Mistake regarding march for macbook pro (sorry), let me correct this:
> -using 1st generation Macbook pro
> -with Leopard, up to date (10.5.1 at the time of this writing)
> -obviously with intel core duo at 1.83 MHz
> then use -march=prescott added into the src/Makefile like this:
> CFLAGS += -march=prescott
> Yes, K8 will compile but won't link right...
> 2) How can we get this built into the configure script for future
> users? If someone can give me some outlined instructions, I'll submit
> a patch
> Thanks again to Steve for his help,
> On Wed, Apr 2, 2008 at 2:11 PM, Stephen Sinclair
> <sinclair at music.mcgill.ca> wrote:
>> Jerzy Gangi wrote:
>> > Steve,
>> > AWESOME! it works! thank you so much!!!
>> > so for anyone reading this at a later time, use the -march=k8 for
>> > Intel Macs (works on Leopard 10.5)....
>> Which is still strange, because K8, as far as I know, refers to the AMD
>> K8 architecture, not Intel.
>> In any case, you could try other CPU types if you'd like.
>> Type "man gcc | less" and search for the section, "Intel 386 and AMD
>> x86-64 Options" to list them all..
>> Here's the list on my system: i386, i486, i586, pentium, pentium-mmx,
>> i686, pentiumpro, pentium3, pentium3m, pentium-m, pentium4, pentium4m,
>> prescott, nocona, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-4,
>> athlon-xp, athlon-mp, k8, opteron, athlon64, athlon-fx, winchip-c6,
>> winchip2, c3, c3-2.
>> Stk mailing list
>> Stk at ccrma.stanford.edu
> Stk mailing list
> Stk at ccrma.stanford.edu
More information about the Stk