Page 2 of 2

Re: Building FreeEMS on MacOS X

Posted: Tue Sep 21, 2010 9:33 pm
by hamster
You are running 10.6? I did mine on a vanilla 10.6 box without needing any of that...

Re: Building FreeEMS on MacOS X

Posted: Tue Sep 21, 2010 9:43 pm
by davecramer
Yes, 10.6.4

and just a straight fink install

fink describe m681x-gcc m681x-newlib m681x-gdb
Information about 9663 packages read in 3 seconds.

m681x-gcc-3.3.6-3: For Motorola 68hc11/12 micro controllers
.
Web site: http://m68hc11.serveftp.org/
.
Maintainer: Carl van Denzen <cvdenzen@users.sourceforge.net>

m681x-newlib-1.12.0-3: For Motorola 68hc11/12 micro controllers
.
Web site: http://m68hc11.serveftp.org/
.
Maintainer: Carl van Denzen <cvdenzen@users.sourceforge.net>

m681x-gdb-6.4-2: For Motorola 68hc11/12 micro controllers
.
Web site: http://m68hc11.serveftp.org/
.
Maintainer: Carl van Denzen <cvdenzen@users.sourceforge.net>

Dave

Re: Building FreeEMS on MacOS X

Posted: Tue Sep 21, 2010 10:23 pm
by Fred
Guys, my apologies, but we're mid way through making changes to the make file with respect to tool calls because the tools are about to change! That path line will probably disappear and the rest will be reverted to gcc calls rather than direct calls. If you grab a version a few commits ago before that change, it should "just work" as others have found.

I wonder if hamster is using an older source tree such as the 0.1.0 release? You're clearly using the latest from my github account... usually a good idea, but right now some things are in flux - this is a good thing, it means progress is being made ;-) The source tree is never guaranteed to do anything much, the only thing guaranteed is that it's the latest stuff :-) Released versions should definitely build on every platform. You guys can help me test that in future, if you like! :-)

Fred.

Re: Building FreeEMS on MacOS X

Posted: Tue Sep 21, 2010 10:41 pm
by davecramer
Fred,

Is there a way to email git commits to the forum, or another list ?

Might be useful to see what is going on

Dave

Re: Building FreeEMS on MacOS X

Posted: Tue Sep 21, 2010 10:56 pm
by hamster
Ohh silly me. I was thinking you were having problems installing the toolchain, not the actual build of the firmware. I just downloaded an official release and ran with that, didn't bother yet with getting the bleeding edge.

Re: Building FreeEMS on MacOS X

Posted: Tue Sep 21, 2010 11:44 pm
by Fred
Hmmm, I'm unsure about the forum, or email, but I can definitely have a look. Right now it posts to the IRC channel when I commit, but only I. Bug me about it if nothing happens or is said.

Re: Building FreeEMS on MacOS X

Posted: Wed Sep 22, 2010 12:44 am
by davecramer
irc ? chatroom ? where ?

Re: Building FreeEMS on MacOS X

Posted: Sun Oct 03, 2010 4:56 am
by nhtshot
hamster wrote:I'm crunching through your guide right now, and I have a couple of updates:

1) If you didn't enable the unstable branch, when you do, you'll need to run a 'fink selfupdate' to pull in the packages, otherwise it will complain that the package doesn't exist

2) Looks like m681x-binutils has been fixed, it built clean on my 10.6 system

3) You also need to comment out this line in the Makefile to get it build on OSX:

PREFIX = m6811-elf-
#PREFIX = m68hc11-

(as the unix versions apparently use m6811-elf- as the bin prefix as explained in the comments...)

################################################################################
# #
# Thank you for building FreeEMS firmware!!! #
# #
################################################################################

Woot! Looks like I have some firmware. Now what to do with this new shiny blob of bits... hmmm ;)
1. Yep.. good catch. I already had it enabled so it didn't matter.

2. Yep, I sent a patch to the maintainer.

Of course, none of that will matter much longer with FreeEms moving to it's own toolchain.

Congrats on the build though!

Re: Building FreeEMS on MacOS X

Posted: Sun Oct 03, 2010 6:33 am
by Fred
nhtshot wrote:2. Yep, I sent a patch to the maintainer.
Your name is in the info file :-)
nhtshot wrote:Of course, none of that will matter much longer with FreeEms moving to it's own toolchain.
Yeah, it mattered, it was an excellent starting point! Thanks!

Fred.