Neuros Technology Forums

Neuros OSD => Neuros OSD - I need help! => Topic started by: jrog on October 30, 2006, 09:00:01 PM



Title: Mac OSX Build environment
Post by: jrog on October 30, 2006, 09:00:01 PM
Hi,

In the Wiki, it says that they used the script provided, and then made some changes to fix it, and everything was fine after the errors. What were those fixes? I have darwin ports, and the developer tools installed. I'm new to cross-compiler tools, but by running the script most everything seems to work, until it gets to the part where it builds the toolchain. Here is output when I run it a second time...

Any help would be greatly appreciated. I'm sure I've just missed some variable or something.

Thanks in advance, really looking forward to working on this box.

Jrog

***********

[Avocado] # sudo ./build.sh
*** Warning: This file system is not distinguishing upper and lower case filenames. This may cause trouble! ***
Building Xtoolchain--gcc--glibc-.
Mon Oct 30 21:47:28 EST 2006
+ export PATH=/Users/jrogers/bin/gnutools:/opt/local/bin:/Developer/Xtoolchain/tools:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/jrogers/bin:/usr/X11R6/bin
+ PATH=/Users/jrogers/bin/gnutools:/opt/local/bin:/Developer/Xtoolchain/tools:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/jrogers/bin:/usr/X11R6/bin
+ '[' -r /opt/local/bin/wget ']'
+ mkdir -p gnutools
+ '[' -r gnutools/awk ']'
+ '[' -r gnutools/sed ']'
+ '[' -r gnutools/make ']'
+ '[' -r /opt/local/bin/msgfmt ']'
++ which awk
+ echo awk is: /Users/jrogers/bin/gnutools/awk
awk is: /Users/jrogers/bin/gnutools/awk
++ which sed
+ echo sed is: /Users/jrogers/bin/gnutools/sed
sed is: /Users/jrogers/bin/gnutools/sed
++ which make
+ echo make is: /Users/jrogers/bin/gnutools/make
make is: /Users/jrogers/bin/gnutools/make
+ echo '[ "$1" = -v ] && echo GNU assembler 2.13 || /usr/bin/as $*'
+ echo '[ "$1" = --version ] && echo GNU ld 2.13 || /usr/bin/ld $*'
+ chmod a+x gnutools/as
+ chmod a+x gnutools/ld
+ '[' -r crosstool-0.38.tar.gz ']'
+ '[' -r crosstool-0.38 ']'
+ '[' -r /Developer/Xtoolchain/gcc--glibc- ']'
+ cd crosstool-0.38
+ export GCC_LANGUAGES=
+ GCC_LANGUAGES=
+ export TARBALLS_DIR=/Users/jrogers/bin/crosstool-0.38/downloads
+ TARBALLS_DIR=/Users/jrogers/bin/crosstool-0.38/downloads
+ export RESULT_TOP=/Developer/Xtoolchain
+ RESULT_TOP=/Developer/Xtoolchain
+ mkdir -p /Developer/Xtoolchain
++ cat .dat gcc--glibc-.dat
cat: .dat: No such file or directory
cat: gcc--glibc-.dat: No such file or directory
+ eval sh all.sh --notest
++ sh all.sh --notest
Please set TARGET to the Gnu target identifier (e.g. pentium-linux)
+ '[' -r packages/Xtoolchain--gcc--glibc-.pkg ']'
+ cd packages
./build.sh: line 97: cd: packages: No such file or directory
+ setplist Description.plist IFPkgDescriptionVersion -gcc--glibc-
./build.sh: line 98: setplist: command not found
+ setplist Info.plist CFBundleShortVersionString gcc--glibc-
./build.sh: line 99: setplist: command not found
+ mkpkg Xtoolchain -gcc--glibc- /Developer/Xtoolchain/gcc--glibc- Info.plist Description.plist installer-resources
./build.sh: line 100: mkpkg: command not found
+ rm -f /Users/jrogers/bin/Xtoolchain--gcc--glibc-.dmg
+ '[' -r Xtoolchain--gcc--glibc-.dmg ']'
+ mkdir /tmp/dmg14316
+ cp -R README.rtf build.sh Makefile tools packages/Xtoolchain--gcc--glibc-.pkg /tmp/dmg14316
cp: packages/Xtoolchain--gcc--glibc-.pkg: No such file or directory
cp: tools: No such file or directory
cp: Makefile: No such file or directory
cp: README.rtf: No such file or directory
+ echo
+ echo
+ echo
+ echo
+ echo
+ mkdmg Xtoolchain -gcc--glibc- /tmp/dmg14316
./build.sh: line 112: mkdmg: command not found
+ rm -rf /tmp/dmg14316
+ echo Done with Xtoolchain--gcc--glibc-.
Done with Xtoolchain--gcc--glibc-.
+ date
Mon Oct 30 21:47:28 EST 2006
[Avocado] #

**************


Title: Re: Mac OSX Build environment
Post by: JoeBorn on November 05, 2006, 02:13:35 AM
I assume you have seen this http://open.neurostechnology.com/node/579 (http://open.neurostechnology.com/node/579)
I'd probably reccomend that you post a comment there or to the mailing list.  It appears that there are at least a couple other folks working on the mac.  mailing list is http://groups.google.com/group/Neuros-DM320Hardware (http://groups.google.com/group/Neuros-DM320Hardware)

unfortunately, none of us internally are working on the mac, but if you think it's a general question, I'm happy to ask around.