ts-7000
[Top] [All Lists]

[ts-7000] Re: Mac Leopard Development

To:
Subject: [ts-7000] Re: Mac Leopard Development
From: "naturalwatt" <>
Date: Fri, 14 Dec 2007 17:01:52 -0000
I use Leopard to develop using Xcode.  When I am happy with XCode, I use make 
from the 
command line to invoke the cross-compiler.

When I went from 10.4 to 10.5 my cross-compiler broke and claimed that the gcc 
executable was an Intel executable. Since my Imac is a PPC, this didn't work.

I rebuilt the cross compiler (for 2.4.26-ts11) after a few problems, whose 
work-arounds I 
have documented.

There was a comment a few weeks ago about wanting to build a 2.6 kernel using 
Leopard.  
I started trying to do this, although I have no need for a 2.6 kernel, and 
rapidly hit the 
problem that it required bin-utils of a higher version than comes with Leopard. 
 Unwilling 
to risk replacing the native ar, as and gcc, especially as I had no real need 
for 2.6, I 
stopped there.

But for a year or so now, I have been writing programs in Xcode, both C and 
C++.  I was 
using CVS, but I don't understand how to use it on 10.5 as it is rather 
different.

There are a few occasions where I have to use #ifdef linux to get something to 
compile 
under both native OSX and Linux, mainly to do with location and content of 
header files, as 
OSX retains a bit of BSD quirkyness.  (Also, naming of device files is 
obviously different).

To build the cross compiler, there are I think 3 distinct fixes that have to be 
made.  I can 
certainly post them if there is interest.  Or maybe post to the wiki at Yan 
Seiner:

http://www.seiner.com/mediawiki/index.php/Ts7000

Martin
--- In  "Rob" <> wrote:
>
> I am hoping to get everything setup on my Mac and get serious this
> winter on a project with my board.  I was trying use Parallels and run
> Lunux (tried SUSE, Debian and Ubuntu) but found it cannot directly
> access USB storage thus no formatting.  I have heard that VMWare does
> not have this issue with Linux and will try setting things up this
> evening.
> 
> In part two I would like to setup a cross compiler.  The two
> alternatives are do it in a Linux virtual machine or in Leopard using
> xCode.  I would prefer using Leopard and am wondering if anyone has
> references to point to on how to set things up.  Or should I use Linux
> in the VM?  
> 
> For background I am a decent programmer and EE but embedded stuff I am
> somewhat green.
> 
> Thanks for any help.
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU