* Cross toolchain for ppc405 (virtex-4) @ 2008-05-28 15:54 Mirek23 2008-05-28 17:16 ` John Linn 0 siblings, 1 reply; 7+ messages in thread From: Mirek23 @ 2008-05-28 15:54 UTC (permalink / raw) To: linuxppc-embedded Hi All, I am using for some time the crosstool tool-chain (crosstool-0.43) for the ppc405 of my virtex-4. It seems to be that the crosstool was not updated for awhile but the glibc and gcc compiler has changed a bit meanwhile. The latest working configuration to build the toolchain for ppc405 is gcc-4.1.0-glibc-2.3.6.dat Does any body has tried to adapt the crosstools to use for example glibc 2.7 ? Another alternative would be to use another tool than crosstool. Could somebody recommend something which can refer to newer version of gcc and glibc . Best Regards Miroslaw Dach -- View this message in context: http://www.nabble.com/Cross-toolchain-for-ppc405-%28virtex-4%29-tp17515929p17515929.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Cross toolchain for ppc405 (virtex-4) 2008-05-28 15:54 Cross toolchain for ppc405 (virtex-4) Mirek23 @ 2008-05-28 17:16 ` John Linn 2008-05-28 18:05 ` rodolfo 2008-05-29 11:29 ` Detlev Zundel 0 siblings, 2 replies; 7+ messages in thread From: John Linn @ 2008-05-28 17:16 UTC (permalink / raw) To: Mirek23, linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 1749 bytes --] Hi Miroslaw, I'm not sure on what version of gcc and glibc it's using, but I have been using ELDK 4.1 from denx.com. There are newer versions. Thanks, John -----Original Message----- From: linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org on behalf of Mirek23 Sent: Wed 5/28/2008 9:54 AM To: linuxppc-embedded@ozlabs.org Subject: Cross toolchain for ppc405 (virtex-4) Hi All, I am using for some time the crosstool tool-chain (crosstool-0.43) for the ppc405 of my virtex-4. It seems to be that the crosstool was not updated for awhile but the glibc and gcc compiler has changed a bit meanwhile. The latest working configuration to build the toolchain for ppc405 is gcc-4.1.0-glibc-2.3.6.dat Does any body has tried to adapt the crosstools to use for example glibc 2.7 ? Another alternative would be to use another tool than crosstool. Could somebody recommend something which can refer to newer version of gcc and glibc . Best Regards Miroslaw Dach -- View this message in context: http://www.nabble.com/Cross-toolchain-for-ppc405-%28virtex-4%29-tp17515929p17515929.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. [-- Attachment #2: Type: text/html, Size: 2497 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Cross toolchain for ppc405 (virtex-4) 2008-05-28 17:16 ` John Linn @ 2008-05-28 18:05 ` rodolfo 2008-05-28 19:32 ` John Linn 2008-05-29 11:29 ` Detlev Zundel 1 sibling, 1 reply; 7+ messages in thread From: rodolfo @ 2008-05-28 18:05 UTC (permalink / raw) To: John Linn; +Cc: linuxppc-embedded, Mirek23 Hi Jonh, If I use ml403 (with PPC 405) Did i change the predefined compiler flags for ppc_4xx? The default value is -mcpu=403. On Wed, 28 May 2008 11:16:41 -0600, "John Linn" <John.Linn@xilinx.com> wrote: > Hi Miroslaw, > > I'm not sure on what version of gcc and glibc it's using, but I have been > using ELDK 4.1 from denx.com. There are newer versions. > > Thanks, > John > > > > -----Original Message----- > From: linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org on behalf > of Mirek23 > Sent: Wed 5/28/2008 9:54 AM > To: linuxppc-embedded@ozlabs.org > Subject: Cross toolchain for ppc405 (virtex-4) > > > Hi All, > > I am using for some time the crosstool tool-chain (crosstool-0.43) for the > ppc405 of my virtex-4. > It seems to be that the crosstool was not updated for awhile but the glibc > and gcc compiler has changed a bit meanwhile. > > The latest working configuration to build the toolchain for ppc405 is > gcc-4.1.0-glibc-2.3.6.dat > Does any body has tried to adapt the crosstools to use for example glibc > 2.7 > ? > > Another alternative would be to use another tool than crosstool. Could > somebody recommend something which can refer to newer version of gcc and > glibc . > > Best Regards > > Miroslaw Dach > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Cross toolchain for ppc405 (virtex-4) 2008-05-28 18:05 ` rodolfo @ 2008-05-28 19:32 ` John Linn 2008-05-28 19:59 ` rodolfo 0 siblings, 1 reply; 7+ messages in thread From: John Linn @ 2008-05-28 19:32 UTC (permalink / raw) To: rodolfo; +Cc: linuxppc-embedded, Mirek23 [-- Attachment #1: Type: text/plain, Size: 2009 bytes --] I don't know, I'm not familiar with what you are doing and it's not clear from the message. -- John ________________________________ From: rodolfo [mailto:rodolfo@lesc.ufc.br] Sent: Wed 5/28/2008 12:05 PM To: John Linn Cc: Mirek23; linuxppc-embedded@ozlabs.org Subject: RE: Cross toolchain for ppc405 (virtex-4) Hi Jonh, If I use ml403 (with PPC 405) Did i change the predefined compiler flags for ppc_4xx? The default value is -mcpu=403. On Wed, 28 May 2008 11:16:41 -0600, "John Linn" <John.Linn@xilinx.com> wrote: > Hi Miroslaw, > > I'm not sure on what version of gcc and glibc it's using, but I have been > using ELDK 4.1 from denx.com. There are newer versions. > > Thanks, > John > > > > -----Original Message----- > From: linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org on behalf > of Mirek23 > Sent: Wed 5/28/2008 9:54 AM > To: linuxppc-embedded@ozlabs.org > Subject: Cross toolchain for ppc405 (virtex-4) > > > Hi All, > > I am using for some time the crosstool tool-chain (crosstool-0.43) for the > ppc405 of my virtex-4. > It seems to be that the crosstool was not updated for awhile but the glibc > and gcc compiler has changed a bit meanwhile. > > The latest working configuration to build the toolchain for ppc405 is > gcc-4.1.0-glibc-2.3.6.dat > Does any body has tried to adapt the crosstools to use for example glibc > 2.7 > ? > > Another alternative would be to use another tool than crosstool. Could > somebody recommend something which can refer to newer version of gcc and > glibc . > > Best Regards > > Miroslaw Dach > > This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. [-- Attachment #2: Type: text/html, Size: 2817 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Cross toolchain for ppc405 (virtex-4) 2008-05-28 19:32 ` John Linn @ 2008-05-28 19:59 ` rodolfo 2008-05-29 6:40 ` David H. Lynch Jr. 0 siblings, 1 reply; 7+ messages in thread From: rodolfo @ 2008-05-28 19:59 UTC (permalink / raw) To: John Linn; +Cc: Mirek23, linuxppc-embedded I'm sorry. I want build kernel linux 2.6 for ml403. Did I have to change the predefined compiler flags for ppc_4xx? The default value is -mcpu=403. On Wed, 28 May 2008 13:32:51 -0600, "John Linn" <John.Linn@xilinx.com> wrote: > I don't know, I'm not familiar with what you are doing and it's not clear > from the message. > > -- John > > ________________________________ > > From: rodolfo [mailto:rodolfo@lesc.ufc.br] > Sent: Wed 5/28/2008 12:05 PM > To: John Linn > Cc: Mirek23; linuxppc-embedded@ozlabs.org > Subject: RE: Cross toolchain for ppc405 (virtex-4) > > > > Hi Jonh, > > If I use ml403 (with PPC 405) Did i change the predefined compiler flags > for ppc_4xx? The default value is -mcpu=403. > > On Wed, 28 May 2008 11:16:41 -0600, "John Linn" <John.Linn@xilinx.com> > wrote: >> Hi Miroslaw, >> >> I'm not sure on what version of gcc and glibc it's using, but I have > been >> using ELDK 4.1 from denx.com. There are newer versions. >> >> Thanks, >> John >> >> >> >> -----Original Message----- >> From: linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org on > behalf >> of Mirek23 >> Sent: Wed 5/28/2008 9:54 AM >> To: linuxppc-embedded@ozlabs.org >> Subject: Cross toolchain for ppc405 (virtex-4) >> >> >> Hi All, >> >> I am using for some time the crosstool tool-chain (crosstool-0.43) for > the >> ppc405 of my virtex-4. >> It seems to be that the crosstool was not updated for awhile but the > glibc >> and gcc compiler has changed a bit meanwhile. >> >> The latest working configuration to build the toolchain for ppc405 is >> gcc-4.1.0-glibc-2.3.6.dat >> Does any body has tried to adapt the crosstools to use for example glibc >> 2.7 >> ? >> >> Another alternative would be to use another tool than crosstool. Could >> somebody recommend something which can refer to newer version of gcc and >> glibc . >> >> Best Regards >> >> Miroslaw Dach >> >> > > > > > > > This email and any attachments are intended for the sole use of the named > recipient(s) and contain(s) confidential information that may be > proprietary, privileged or copyrighted under applicable law. If you are not > the intended recipient, do not read, copy, or forward this email message or > any attachments. Delete this email message and any attachments immediately. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cross toolchain for ppc405 (virtex-4) 2008-05-28 19:59 ` rodolfo @ 2008-05-29 6:40 ` David H. Lynch Jr. 0 siblings, 0 replies; 7+ messages in thread From: David H. Lynch Jr. @ 2008-05-29 6:40 UTC (permalink / raw) To: rodolfo; +Cc: linuxppc-embedded, John Linn, Mirek23 I am not sure if this answers your question but to build a 2.6 Linux kernel using the buildroot uclibc ppc cross compiler you would issue the following make command make ARCH=ppc CROSS_COMPILE=powerpc-linux-uclibc- If you were using the crosstools compiler rather than buildroot, the CROSS_COMPILE value would change. For older version of GCC it might require a full path to the crosscompiler. If you are building a BSP in the powerpc tree use ARCH=powerpc I am fairly certain that when you are building a Linux kernel it is irrelevant whether you use a glibc or uclibc or ... compiler. The kernel is not going to link against any standard C library, those library functions the kernel uses must be coded in the kernel. However, when you are cross compiling applications for your target it is a good idea to stick to the same standard C library and associated cross compiler. rodolfo wrote: > I'm sorry. > > I want build kernel linux 2.6 for ml403. > Did I have to change the predefined compiler flags for ppc_4xx? The default > value is -mcpu=403. > > On Wed, 28 May 2008 13:32:51 -0600, "John Linn" <John.Linn@xilinx.com> > wrote: > >> I don't know, I'm not familiar with what you are doing and it's not clear >> from the message. >> >> -- John >> -- Dave Lynch DLA Systems Software Development: Embedded Linux 717.627.3770 dhlii@dlasys.net http://www.dlasys.net fax: 1.253.369.9244 Cell: 1.717.587.7774 Over 25 years' experience in platforms, languages, and technologies too numerous to list. "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cross toolchain for ppc405 (virtex-4) 2008-05-28 17:16 ` John Linn 2008-05-28 18:05 ` rodolfo @ 2008-05-29 11:29 ` Detlev Zundel 1 sibling, 0 replies; 7+ messages in thread From: Detlev Zundel @ 2008-05-29 11:29 UTC (permalink / raw) To: linuxppc-embedded Hi, > I'm not sure on what version of gcc and glibc it's using, but I have been using > ELDK 4.1 from denx.com. There are newer versions. The more recent ELDK 4.2 supports 405s and its crosstoolchain uses binutils 2.17.50.0.12, gcc 4.2.2, glibc 2.6 and gdb 6.7. Cheers Detlev -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-05-29 11:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-05-28 15:54 Cross toolchain for ppc405 (virtex-4) Mirek23 2008-05-28 17:16 ` John Linn 2008-05-28 18:05 ` rodolfo 2008-05-28 19:32 ` John Linn 2008-05-28 19:59 ` rodolfo 2008-05-29 6:40 ` David H. Lynch Jr. 2008-05-29 11:29 ` Detlev Zundel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).