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 "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
>
------------------------------------
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/
|