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] |
Hi Arnaud, That would be brilliant, thanks. Andy On 13 May 2010 00:43, Arnaud Lacombe <lacombar@gmail.com> wrote: > Hi, > > On Tue, May 11, 2010 at 5:51 AM, Yann E. MORIN > <yann.morin.1998@anciens.enib.fr> wrote: >> Andy, >> >> This kind of questins are best CCed to the mailing list. >> >> On Monday 10 May 2010 12:36:01 Andy Pevy wrote: >>> I have picked up an old project that needs some modifications to >>> it, and it was originally built using DaVinci-ARM GCC 3.4.3 from >>> MontaVista and has kernel 2.6.10. I have tried compiling it with >>> crosstool-NG compiled GCC 4.3.2 but the compiler is being too fussy >>> about some of the kernel constructs. >>> Is it possible to recreate the 3.4.3 tool set using crosstool-NG please ?. >> >> In crosstool-NG, gcc-3.x.x is considered 'obsolete', and the only 3.x.x >> version still available is 3.4.6. You have to enable support for obsolete >> versions: >> >> ?Paths and misc options ?---> >> ? ?[*] Use obsolete features >> >> ?Operating System ?---> >> ? ?Get kernel headers from: (Use custom headers) >> ? ?( /some/where) Path to custom headers directory/tarball >> >> ?C compiler ?---> >> ? ?gcc version (3.4.6 (OBSOLETE)) >> >> Of course, I would highly encourage you to update your kernel and gcc. >> There is a sample in crosstool-NG that can build for the DaVinci processor: >> >> ?# ct-ng show-arm-davinci-linux-gnueabi >> ?arm-davinci-linux-gnueabi ?[L ?] >> ? ? ?OS ? ? ? ? ? ? : linux-2.6.33.2 >> ? ? ?Companion libs : gmp-4.3.2 mpfr-2.4.2 libelf-0.8.13 >> ? ? ?binutils ? ? ? : binutils-2.20 >> ? ? ?C compiler ? ? : gcc-4.3.2 (C,C++) >> ? ? ?C library ? ? ?: glibc-2.9 >> ? ? ?Tools ? ? ? ? ?: dmalloc-5.5.2 duma-2_5_15 gdb-6.8 ltrace-0.5.3 strace-4.5.19 >> >> To use that sample: >> >> ?# ct-ng arm-davinci-linux-gnueabi >> ?Now configured for "arm-davinci-linux-gnueabi" >> ?# ct-ng build >> >> Of course, this sample builds a toolchain with headers from Linux 2.6.33.2, >> and will require that you run the 2.6.33.2 kernel on your target. This is >> really what I would recommend, that you update your kernel. 2.6.10 is now >> really, really old... >> > Sometimes, people have no choice but to use an old kernel, especially > when you need to make change to an old project, or when you don't have > the control of the main project. The cost of bringing up a new BSP > might also be too high or the original vendor may even not support it > anymore. I have no interest to see people in this situation be turned > down, as I am one of them. > > That said, I have a few patches to support those environment (ie truly > supporting all 2.6 and [maybe] 2.4 kernel). I shall put these in a > public git tree, but it needs some clean-up first. If you are > interested by these patches, please pick them. As of the ETA, it > should be good by the end of the week. > > my 0.2c, > ?- Arnaud > -- 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] |