ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Now, how?

To:
Subject: Re: [ts-7000] Re: Now, how?
From: Dave Cramer <>
Date: Mon, 10 May 2010 12:11:15 -0400


Hi Martin,

Do you have the tarball ?

Dave

On Wed, Nov 25, 2009 at 2:49 PM, naturalwatt <> wrote:
 

Hi Craig.

I am successfully using a cross-tool chain I compiled myself on OSX. It works for the TS7250 using the default 2.4.26 kernel.

I want to move to the new TS7500 as a platform, which has the 2.6.24 kernel. It is not possible to build the toolchain on OSX, because there is place where there are two files of the same name but differing in case. The workaround is to create a case-sensitive filesystem on a disk image and mount that. I can't be bothered to do that, so I use Ubuntu 8.04 in a Parallels Desktop virtual machine which allows me to use a prepackaged cross compiler.

I had some grief compiling it so it might be best if I upload a tar.gz to the files area of this group, if I can. It's 29MB.

I'll also put some sample Makefiles in as guidance.

I use these environment variables defined in .profile:
CROSSTOOL=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu
ARM=arm-unknown-linux-gnu

This means my makefile looks like this:

CC=$(CROSSTOOL)/$(ARM)/bin/gcc
NAME=victron

all: $(NAME)
$(CROSSTOOL)/$(ARM)/bin/strip $(NAME)
mv $(NAME) $(NAME).new

$(NAME): $(NAME).c

This creates the executable as a stripped file called in this case victron.new; just a local convention.

Do you want the crosstool.tar.gz file?

Martin



--- In ts-7000%40yahoogroups.com, "craignied" <> wrote:
>
> > If you look back in the archives I remember hearing about a few users
> > that had a crosstool chain built up and working in Xcode.
>
> Thanks, Jason. I trolled the archives, and all I saw was pain without resolution. Anyone out there successfully using OS X as a development platform? If so, how?
>
> As I am a newbie, I may just use vmware to set up a linux box to get things rolling. Two newbie questions:
>
> 1. What flavor of linux is best?
> 2. Is there a simple hello world (or equivalent) tutorial on how to set up the cross compile environment on it that takes you through compiling, transferring and running a program?
>
> Many TIA,
> Craig
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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