This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG 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] |
I'm making some progress. I'm currently stuck on this error. gcc -c -DIN_GCC -DGENERATOR_FILE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/dpd -I../libdecnumber \ -o build/genflags.o ../.././gcc/genflags.c In file included from ../.././gcc/rtl.h:28:0, from ../.././gcc/genflags.c:28: ../.././gcc/real.h:77:13: error: size of array 'test_real_width' is negative make[6]: *** [build/genflags.o] Error 1 make[6]: Leaving directory `/home/apps/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/gcc-4.7.2/host-mipsel-openwrt-linux-uclibc/gcc' make[5]: *** [all-gcc] Error 2 On Thu, May 9, 2013 at 8:15 AM, jonsmirl@gmail.com <jonsmirl@gmail.com> wrote: > On Thu, May 9, 2013 at 6:49 AM, Martin Guy <martinwguy@gmail.com> wrote: >> Hi Jon >> >> On 9 May 2013 00:32, jonsmirl@gmail.com <jonsmirl@gmail.com> wrote: >>> I've been trying to do a Canadian build for the Avr32 without much >>> success. I get lots of different compile failures depending on which >>> releases of the various components I pick. >>> >>> I used this approach.. >>> >>> apt-get install avc-gcc, etc... >> >> Sorry, are you working for the AVR or AVR32? They are two totally >> different processors, AVR has GCC support in mainline but not in >> crosstool-ng. AVR32 does not have support in mainline GCC but does in >> crosstool, thanks to several megabytes of patches for gcc-4.2.2, >> binutils-2.18 and newlib-1.17 > > Target is the 8-bit AVR. I was confused and thought that the AVR32 > compilers worked for both CPUs. I need the AVR8 gcc. > > So crosstool-ng is missing AVR8 support which is my final target. That > probably rules it out. > >> Mind you, I can't see GCC running on the 8-bit AVR processors, so I >> assume you mean AVR32, in which case you might start from here: >> http://spaces.atmel.com/gf/project/ct-ng/ >> which has patches for AVR32 for more versions, up to gcc-4.4.7. > > Compiler needs to run on a mipel with uclibc. > > So it is: > x86 --> mipsel (uclibs) --> AVR8 (bare metal) > > ---------------- > > I'm trying a couple of other schemes too... > Using the Openwrt cross build environment to make the AVR8 compiler. > I am missing all of the makefile for this and haven't found a combo > yet that builds. > > Using Debian on a mipel emulator. > I have the make files for the AVR8 compiler, but I need to figure out > how to modify them to build for mipsel/uclibc instead of normal > Debian. > > >> That said, the current AVR32 stuff in crosstool-ng only supports >> newlib on bare-metal targets if I understand correctly. What operating >> system environment platform are you wanting the ct-ng-generated >> compiler to run on? >> I think the AVR32 patches have support for uclinux (or had... I fear >> I may have diked that part out while pruning the patches for my >> project). Do you maybe have linux/uclibc running on AVR32? >> >> M > > > > -- > Jon Smirl > jonsmirl@gmail.com -- Jon Smirl jonsmirl@gmail.com -- 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] |