Newton 2.0 Mac version

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Newton 2.0 Mac version

Postby Blakharaz » Mon Feb 16, 2009 7:09 pm

Hi,

I noticed some issues at the Mac version of Newton 2.0
  • It seems to be outdated compared to the Windows and Linux versions (the parameter threadIndex is missing on some functions)
  • It is compiled with the Mac OS X 10.5 SDK which restricts all software made with Newton to run on 10.5 only. I think there is nothing forcing Newton to be restricted to Mac OS 10.5 (it just uses libc, I guess), so version 10.4 should be the better choice.

Kind regards,
Blakharaz.
Blakharaz
 
Posts: 2
Joined: Tue Jul 11, 2006 7:49 am

Re: Newton 2.0 Mac version

Postby Julio Jerez » Mon Feb 16, 2009 7:28 pm

Yes I have not build the Mac in a while.
I am working and a project that I understimated the time to complete and now all of the make files and project files are a litle confused.

So the 10.5 mac is no backwark compatible with the older.
how do i make sure the build uses those libraries?

Basically I updated xcode to teh latest version and relod my old project.
The newer version of Xcode do not even intall run in the IMac.

who do a choose teh 10.4 MAC sdk?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0 Mac version

Postby Gianluca » Wed Feb 18, 2009 9:50 am

Julio Jerez wrote:who do a choose teh 10.4 MAC sdk?


There is a special flag of gcc compiler under the mac for doing so:
Code: Select all
 --sysroot=/path/to/system/root

You can choose between:
/Developer/SDKs/MacOSX10.4u.sdk or
/Developer/SDKs/MacOSX10.5.sdk

chossing the mac ox 10.4 you'll have backward compatibility to 10.4
Gianluca
 
Posts: 53
Joined: Fri Nov 11, 2005 4:37 am
Location: Rome - Italy

Re: Newton 2.0 Mac version

Postby Blakharaz » Thu Feb 19, 2009 3:59 pm

Julio Jerez wrote:who do a choose teh 10.4 MAC sdk?

In Xcode it can be changed in the info page (Command-I) of the whole project or the single targets. There is an entry called Base SDK, this should be set to "Mac OS X 10.4"

Regards,
Blakharaz.
Blakharaz
 
Posts: 2
Joined: Tue Jul 11, 2006 7:49 am

Re: Newton 2.0 Mac version

Postby Julio Jerez » Sun May 24, 2009 3:06 pm

Oh i see teh problem

OS 10.4 is Mac tiger, an dit does not support teh new Intel SSE header files.
OS 10.5 is Mac leopard wich does does udesrab the New SSE file.

I can no figure outy how to set Xcode to build using OS 10.4 and using the SSE intrisics.
I can make a target similar similar to teh G3 tha does no uses SSE code.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 4 guests

cron