This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
First, THANKS! I've been struggling to get a Motorola 68000 cross-compiler up, hampered by the fact that Bill Gatliff's stuff seems to have vanished from the web. You've done a lot of work figuring out the patches and the scripts, with the result that a few hours after discovering crossgcc I'm much further forward than I've ever been in the past. Great stuff! A couple of points arise. On the web page at http://sources.redhat.com/ml/crossgcc/2006-07/ the link to "CrossGCC FAQ" is broken. Following the "Quick Start" instructions at http://kegel.com/crosstool/crosstool-0.42/doc/crosstool-howto.html I ran the script unmodified as: sh demo-m68k.sh on an up-to-date but somewhat conservative Gentoo Linux PC system using the standard kernel as found at kernel.org and stable versions of all software. Build environment was: rick@triffid ~ $ uname -a Linux triffid 2.6.17.6 #1 PREEMPT Fri Jul 21 12:45:40 MDT 2006 i686 AMD Athlon(tm) Processor GNU/Linux rick@triffid ~ $ gcc --version gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) This ran successfully and created a toolchain: Cross-toolchain build complete. Result in /opt/crosstool/gcc-3.3.3-glibc-2.3.2/m68k-unknown-linux-gnu. but the hello_world test fails: + /opt/crosstool/gcc-3.3.3-glibc-2.3.2/m68k-unknown-linux-gnu/bin/m68k-unknown-linux-gnu-gcc -static hello.c -o m68k-unknown-linux-gnu-hello-static hello.c: In function `main': hello.c:4: error: `PATH_MAX' undeclared (first use in this function) I'm not sure where the PATH_MAX should be defined, but clearly my system lacks it. This seems to be the only problem, since: /opt/crosstool/gcc-3.3.3-glibc-2.3.2/m68k-unknown-linux-gnu/bin/m68k-unknown-linux-gnu-gcc -static -DPATH_MAX=128 hello.c -o m68k-unknown-linux-gnu-hello-static runs with no messages and produces an output file. Since I'm working on an embedded 68k system with limited I/O facilities, it's not immediately possible to run and test the compiled code. Thanks again for a superb set of scripts, I hope you find this information useful. -- Rick Jenkins <rick@hartmantech.com> Hartman Technica http://www.hartmantech.com Phone +1 (403) 230-1987 voice & fax 221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5 -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |