Page 1 of 1

Universal Binary ???

Posted: Wed Jun 21, 2006 3:08 pm
by Tech-Man
Hi all,

I know there are not a lot of Mac users , but I have just got my new MacBook and intend on doing crossplatform coding etc, using OSX/Windows/Linux/Amiga running under parallels in OSX.

Now rosetta is supposed to run the PPC executable, all runs ok, load source, goto compile and it fails with a load of "purebasic.o (18, arcitecture ppc) does not match cputype (7) for specified -arch flag i386: file not loaded" and a load more.

even with the sample codes it fails, now i really dont want to miss out the Mac market, is there a possibility of a Universal Binary? as last discussion I can find on here about this was in January.

Hopefully Fred has an Intel Mac by now ;)

Thanks
Tm

Posted: Wed Jun 21, 2006 5:07 pm
by Nik
Well I think PB 4 for Mac will be ready for intel macs, as I'm getting one in july this would be great , in the meantime it would defintely be great to have a way to fix this. I think the problem in this case is the linker or better its standard flag. I don't think that PB passes this flag to it since it wouldn't pass i386 maybe you could change the linkers standard excutable arch... and you should try compiling from the commandline.