Universal Binary ???

Mac OSX specific forum
Tech-Man
New User
New User
Posts: 9
Joined: Fri Aug 08, 2003 7:52 pm

Universal Binary ???

Post 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
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post 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.
Post Reply