This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, Nov 30, 2007 at 06:14:05PM -0800, Rick Mann wrote:I've looked at several archive messages, and many OLD instructions, and I still can't quite figure out how to do a combined build of GCC targeting xscale-elf.
I need to do this from release tars. I downloaded gcc-4.2.1, binutils-2.18, and newlib-1.15.
First, read <URL:http://gcc.gnu.org/ml/gcc-help/2007-06/msg00230.html >.
When running the "ln -s" commands, you want to start with the newest of the
packages; perhaps check the file "configure" in each package, because the
packages gcc, binutils, newlib, gdb, etc. keep the common files and
directories in sync. In this particular case, I think the order should be
binutils-2.18, gcc-4.2.1 and newlib-1.15.
The files related to libtool were upgraded between binutils-2.17 and
binutils-2.18, but the change first appears in GCC in 4.3.0 (which has not
been released yet). You may have to try with binutils-2.17 instead.
Alternatively, use a GCC 4.3 snapshot. If none of the above works or you're
desparate enough to get the combination of binutils-2.18, gcc-4.2.1 and
newlib-1.15 working, it is necessary to use the libtool version from
gcc-4.2.1 and the libiberty version from binutils-2.18. I.e.
gcc -g -O2 -c -o flat_bl.o ../../combined/gprof/flat_bl.m ../../combined/gprof/flat_bl.m:2: error: syntax error before ‘%’ token make[4]: *** [flat_bl.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-gprof] Error 2 make: *** [all] Error 2
$ automake --version automake (GNU automake) 1.10 Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>.
-- Rick
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |