* [Buildroot] C++ cross compiler
@ 2006-11-15 8:59 nina.holly at aerende.com
2006-11-15 11:59 ` Philippe Ney
2006-11-15 14:47 ` MikeW
0 siblings, 2 replies; 14+ messages in thread
From: nina.holly at aerende.com @ 2006-11-15 8:59 UTC (permalink / raw)
To: buildroot
Hi,
Is it possible to generate a C++ (g++) cross compiler
for ARM usng buildroot? I have been able to generate
a GCC cross compiler for ARM using buildroot.
Thanks for any pointers.
Nina
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] C++ cross compiler 2006-11-15 8:59 [Buildroot] C++ cross compiler nina.holly at aerende.com @ 2006-11-15 11:59 ` Philippe Ney 2006-11-15 15:04 ` nina.holly at aerende.com 2006-11-15 14:47 ` MikeW 1 sibling, 1 reply; 14+ messages in thread From: Philippe Ney @ 2006-11-15 11:59 UTC (permalink / raw) To: buildroot > Hi, > Is it possible to generate a C++ (g++) cross compiler > for ARM usng buildroot? I have been able to generate > a GCC cross compiler for ARM using buildroot. > > Thanks for any pointers. Sure. $ make menuconfig And check the right box. Philippe ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] C++ cross compiler 2006-11-15 11:59 ` Philippe Ney @ 2006-11-15 15:04 ` nina.holly at aerende.com 2006-11-15 16:33 ` Philippe Ney 0 siblings, 1 reply; 14+ messages in thread From: nina.holly at aerende.com @ 2006-11-15 15:04 UTC (permalink / raw) To: buildroot Hi Philippe, Could you tell me how you were able to create a c++ cross compiler for ARM? I.E. can you tell me which boxes you checked? The following is what I did which doesn't seem to work. In make menuconfig in the "toolchain" menu I checked [*] Build/install c++ compiler and libstdc++ and it ended up setting in .config : BR2_INSTALL_LIBSTDCPP=y but did not set: BR2_PACKAGE_LIBCGICC or BR2_PACKAGE_QTE After running make, arm-linux-g++ does not show up in the bin directory specified in the "Build options" menu section for "Toolchain and header file location". 1. Is there another make menuconfig option that needs to be set to build a C++ cross compiler? 2. When I googled "buildroot c++ cross compiler" other people were not able to create a c++ cross compiler w/buildroot and I didn't see a clear resolution from the responses. Thanks again for any pointers. Nina >> Hi, >> Is it possible to generate a C++ (g++) cross compiler >> for ARM usng buildroot? I have been able to generate >> a GCC cross compiler for ARM using buildroot. >> >> Thanks for any pointers. > > Sure. > > $ make menuconfig > > And check the right box. > > Philippe > _______________________________________________ > buildroot mailing list > buildroot at uclibc.org > http://busybox.net/mailman/listinfo/buildroot > ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] C++ cross compiler 2006-11-15 15:04 ` nina.holly at aerende.com @ 2006-11-15 16:33 ` Philippe Ney 0 siblings, 0 replies; 14+ messages in thread From: Philippe Ney @ 2006-11-15 16:33 UTC (permalink / raw) To: buildroot > Hi Philippe, > Could you tell me how you were able to > create a c++ cross compiler for ARM? I.E. > can you tell me which boxes you checked? > > The following is what I did which doesn't > seem to work. > > In make menuconfig in the "toolchain" menu I checked > > [*] Build/install c++ compiler and libstdc++ OK > and it ended up setting in .config : > > BR2_INSTALL_LIBSTDCPP=y OK > but did not set: > > BR2_PACKAGE_LIBCGICC or > BR2_PACKAGE_QTE That's packages. Nothing to do with the compiler > After running make, arm-linux-g++ does not show up in the > bin directory specified in the "Build options" menu section > for "Toolchain and header file location". > > 1. Is there another make menuconfig option that needs to > be set to build a C++ cross compiler? > > 2. When I googled "buildroot c++ cross compiler" other people > were not able to create a c++ cross compiler w/buildroot and > I didn't see a clear resolution from the responses. You ought to have something like : buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-g++ (gcc-4.0.3 / binutils-2.17 / uClibc-0.9.28) If the c++ support is not generated in your compiler, maybe you have to check in the corresponding .mk file if the right parameters are used. Philippe ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] C++ cross compiler 2006-11-15 8:59 [Buildroot] C++ cross compiler nina.holly at aerende.com 2006-11-15 11:59 ` Philippe Ney @ 2006-11-15 14:47 ` MikeW 2006-11-15 15:20 ` nina.holly at aerende.com 1 sibling, 1 reply; 14+ messages in thread From: MikeW @ 2006-11-15 14:47 UTC (permalink / raw) To: buildroot <nina.holly@...> writes: > > Hi, > Is it possible to generate a C++ (g++) cross compiler > for ARM usng buildroot? I have been able to generate > a GCC cross compiler for ARM using buildroot. > > Thanks for any pointers. > > Nina > This is in make menuconfig: Toolchain options: Build/install c++ compiler and libstdc++ Also, if you get the problem raised here: http://bugs.uclibc.org/view.php?id=904 applying the patch in the first Note solves the problem. http://gcc.gnu.org/bugzilla/attachment.cgi?id=6132 Method: save the text of the patch from the link, as something like libstdc++-3.4.0-uclibc.patch and then copy the file to toolchain/gcc/<version>/ You will need to repatch & rebuild the toolchain ... make dirclean first. Regards, MikeW ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] C++ cross compiler 2006-11-15 14:47 ` MikeW @ 2006-11-15 15:20 ` nina.holly at aerende.com 2006-11-15 15:50 ` MikeW 0 siblings, 1 reply; 14+ messages in thread From: nina.holly at aerende.com @ 2006-11-15 15:20 UTC (permalink / raw) To: buildroot Hi Mike, The build completes without an error, just no arm-linux-g++ compiler gets built. So I'm not sure if the patch would fix the problem. Nina > <nina.holly@...> writes: > >> >> Hi, >> Is it possible to generate a C++ (g++) cross compiler >> for ARM usng buildroot? I have been able to generate >> a GCC cross compiler for ARM using buildroot. >> >> Thanks for any pointers. >> >> Nina >> > This is in make menuconfig: Toolchain options: Build/install > c++ compiler and libstdc++ > > Also, if you get the problem raised here: > http://bugs.uclibc.org/view.php?id=904 > > applying the patch in the first Note solves the problem. > http://gcc.gnu.org/bugzilla/attachment.cgi?id=6132 > > Method: save the text of the patch from the link, as something like > libstdc++-3.4.0-uclibc.patch and then copy the file to > toolchain/gcc/<version>/ > > You will need to repatch & rebuild the toolchain ... make dirclean first. > > Regards, > MikeW > > > > > > _______________________________________________ > buildroot mailing list > buildroot at uclibc.org > http://busybox.net/mailman/listinfo/buildroot > ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] C++ cross compiler 2006-11-15 15:20 ` nina.holly at aerende.com @ 2006-11-15 15:50 ` MikeW 2006-11-16 16:37 ` Bernhard Fischer 0 siblings, 1 reply; 14+ messages in thread From: MikeW @ 2006-11-15 15:50 UTC (permalink / raw) To: buildroot <nina.holly@...> writes: > > Hi Mike, > The build completes without an error, just no > arm-linux-g++ compiler gets built. So I'm not sure > if the patch would fix the problem. > > Nina > Must be something more fundamental wrong - you'll have to try (e.g.) capturing the build output and then checking through it with an editor to try to find why it skips c++/g++ creation. Had a problem with libstdc++ which I fixed as described. I have had success using buildroot-20061031, with binutils-2-16.91.0.7 and gcc-3.4.3 I also moved the download directory away from the default, so that I could do dirclean without losing all the tar.gz files. MikeW ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] C++ cross compiler 2006-11-15 15:50 ` MikeW @ 2006-11-16 16:37 ` Bernhard Fischer [not found] ` <16888.82.171.61.116.1163702830.squirrel@webmail.aerende.com> 0 siblings, 1 reply; 14+ messages in thread From: Bernhard Fischer @ 2006-11-16 16:37 UTC (permalink / raw) To: buildroot On Wed, Nov 15, 2006 at 03:50:52PM +0000, MikeW wrote: > <nina.holly@...> writes: > >> >> Hi Mike, >> The build completes without an error, just no >> arm-linux-g++ compiler gets built. So I'm not sure >> if the patch would fix the problem. >> >> Nina >> >Must be something more fundamental wrong - you'll have to try (e.g.) For a native compiler on the target, make sure to set BR2_PACKAGE_GCC_TARGET=y ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <16888.82.171.61.116.1163702830.squirrel@webmail.aerende.com>]
* [Buildroot] web browser with buildroot/uClibc and Qtopia 4 [not found] ` <16888.82.171.61.116.1163702830.squirrel@webmail.aerende.com> @ 2007-04-19 12:32 ` nina.holly at aerende.com 0 siblings, 0 replies; 14+ messages in thread From: nina.holly at aerende.com @ 2007-04-19 12:32 UTC (permalink / raw) To: buildroot Hi, Can anyone suggest a web browser that can be used with buildroot/uClibc and Qtopia 4? Thanks, Nina ^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] c++ cross compiler
@ 2006-11-26 22:46 David Prime
[not found] ` <39d7ed000611261547r44bf1d47j1fe03b69c6e44cc4@mail.gmail.com>
0 siblings, 1 reply; 14+ messages in thread
From: David Prime @ 2006-11-26 22:46 UTC (permalink / raw)
To: buildroot
Hi,
Anyone with a working arm c++ cross compiler care to share their buildroot
.config ?
When I attempt to build it, it appears not to build the cpp libraries to
go with it, so when I try to link my programs it all fails miserably :(
David
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <39d7ed000611261547r44bf1d47j1fe03b69c6e44cc4@mail.gmail.com>]
* [Buildroot] c++ cross compiler [not found] ` <39d7ed000611261547r44bf1d47j1fe03b69c6e44cc4@mail.gmail.com> @ 2006-11-27 9:55 ` David Prime [not found] ` <39d7ed000611270157n68ce8222o7079898ca2185acc@mail.gmail.com> 0 siblings, 1 reply; 14+ messages in thread From: David Prime @ 2006-11-27 9:55 UTC (permalink / raw) To: buildroot I've tried a few: GCC 3.4.6, 4.1, 4.2 Using the daily snapshot - although I will try the one you are using to see what happens. What's that monetary_members.cc all about? Is it a fatal mistake not to use that patch or is it just some obscure function that will be broken? David On Sun, November 26, 2006 11:47 pm, Gilad Rom wrote: > I'm using the 20061711 snapshot with gcc-4.1.0, including > the backported monetary_members.cc 4.2.0 patch, and it works fine. > > Which versions are you using? > > > On 11/27/06, David Prime <david@primefarm.co.uk> wrote: > >> Hi, >> >> >> Anyone with a working arm c++ cross compiler care to share their >> buildroot .config ? >> >> >> When I attempt to build it, it appears not to build the cpp libraries >> to go with it, so when I try to link my programs it all fails miserably >> :( >> >> >> >> David >> >> >> _______________________________________________ >> buildroot mailing list buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> >> > ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <39d7ed000611270157n68ce8222o7079898ca2185acc@mail.gmail.com>]
* [Buildroot] c++ cross compiler [not found] ` <39d7ed000611270157n68ce8222o7079898ca2185acc@mail.gmail.com> @ 2006-11-27 10:01 ` David Prime [not found] ` <39d7ed000611270203k2d20b505t532c809f63088a1b@mail.gmail.com> 0 siblings, 1 reply; 14+ messages in thread From: David Prime @ 2006-11-27 10:01 UTC (permalink / raw) To: buildroot Aha. OK, by ported, do you mean copied and pasted to the 4.1 patch dir, or did you actually port it in some way? If you had to do anything other than copy it, I would be grateful to know what. Thanks. David On Mon, November 27, 2006 9:57 am, Gilad Rom wrote: > its the 204-... patch from the toolchain/gcc/4.2.0 directory, and it is > needed if you intend on building a C++ toolchain. Without it, the build > simply breaks. > > Gilad > > > On 11/27/06, David Prime <david@primefarm.co.uk> wrote: > >> I've tried a few: >> >> >> GCC 3.4.6, 4.1, 4.2 >> Using the daily snapshot - although I will try the one you are using to >> see what happens. What's that monetary_members.cc all about? Is it a >> fatal mistake not to use that patch or is it just some obscure function >> that will be broken? >> >> >> David >> >> >> >> On Sun, November 26, 2006 11:47 pm, Gilad Rom wrote: >> >>> I'm using the 20061711 snapshot with gcc-4.1.0, including >>> the backported monetary_members.cc 4.2.0 patch, and it works fine. >>> >>> Which versions are you using? >>> >>> >>> >>> On 11/27/06, David Prime <david@primefarm.co.uk> wrote: >>> >>> >>>> Hi, >>>> >>>> >>>> >>>> Anyone with a working arm c++ cross compiler care to share their >>>> buildroot .config ? >>>> >>>> >>>> When I attempt to build it, it appears not to build the cpp >>>> libraries to go with it, so when I try to link my programs it all >>>> fails miserably :( >>>> >>>> >>>> >>>> >>>> David >>>> >>>> >>>> >>>> _______________________________________________ >>>> buildroot mailing list buildroot at uclibc.org >>>> http://busybox.net/mailman/listinfo/buildroot >>>> >>>> >>>> >>> >> >> _______________________________________________ >> buildroot mailing list buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> >> > ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <39d7ed000611270203k2d20b505t532c809f63088a1b@mail.gmail.com>]
* [Buildroot] c++ cross compiler [not found] ` <39d7ed000611270203k2d20b505t532c809f63088a1b@mail.gmail.com> @ 2006-11-27 10:36 ` David Prime [not found] ` <39d7ed000611270240q19434dfj192de4494f52a996@mail.gmail.com> 0 siblings, 1 reply; 14+ messages in thread From: David Prime @ 2006-11-27 10:36 UTC (permalink / raw) To: buildroot Hmm, the patch error output for that file isnt very helpful - could I just get rid of the numeric_members.cc part of the patch? On Mon, November 27, 2006 10:03 am, Gilad Rom wrote: > Well, the patch file actually patches two files, monetary_members.cc > and numeric_members.cc (If I remember correctly, unfortunately I dont have > the sources here at the moment), and the second part of the patch needs to > be modified. It is, however, very simple and straightforward. a couple of > UCLIBC #ifdef's here and there, nothing too nasty). > > > Gilad > > > On 11/27/06, David Prime <david@primefarm.co.uk> wrote: > >> Aha. OK, by ported, do you mean copied and pasted to the 4.1 patch dir, >> or did you actually port it in some way? If you had to do anything other >> than copy it, I would be grateful to know what. >> >> Thanks. >> >> >> David >> >> >> On Mon, November 27, 2006 9:57 am, Gilad Rom wrote: >> >>> its the 204-... patch from the toolchain/gcc/4.2.0 directory, and it >>> is needed if you intend on building a C++ toolchain. Without it, the >>> build simply breaks. >>> >>> Gilad >>> >>> >>> >>> On 11/27/06, David Prime <david@primefarm.co.uk> wrote: >>> >>> >>>> I've tried a few: >>>> >>>> >>>> >>>> GCC 3.4.6, 4.1, 4.2 >>>> Using the daily snapshot - although I will try the one you are using >>>> to see what happens. What's that monetary_members.cc all about? Is >>>> it a fatal mistake not to use that patch or is it just some obscure >>>> function that will be broken? >>>> >>>> >>>> David >>>> >>>> >>>> >>>> >>>> On Sun, November 26, 2006 11:47 pm, Gilad Rom wrote: >>>> >>>> >>>>> I'm using the 20061711 snapshot with gcc-4.1.0, including >>>>> the backported monetary_members.cc 4.2.0 patch, and it works fine. >>>>> >>>>> >>>>> Which versions are you using? >>>>> >>>>> >>>>> >>>>> >>>>> On 11/27/06, David Prime <david@primefarm.co.uk> wrote: >>>>> >>>>> >>>>> >>>>>> Hi, >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Anyone with a working arm c++ cross compiler care to share >>>>>> their buildroot .config ? >>>>>> >>>>>> >>>>>> When I attempt to build it, it appears not to build the cpp >>>>>> libraries to go with it, so when I try to link my programs it >>>>>> all fails miserably :( >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> David >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> buildroot mailing list buildroot at uclibc.org >>>>>> http://busybox.net/mailman/listinfo/buildroot >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> buildroot mailing list buildroot at uclibc.org >>>> http://busybox.net/mailman/listinfo/buildroot >>>> >>>> >>>> >>> >> >> _______________________________________________ >> buildroot mailing list buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> >> > ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <39d7ed000611270240q19434dfj192de4494f52a996@mail.gmail.com>]
* [Buildroot] c++ cross compiler [not found] ` <39d7ed000611270240q19434dfj192de4494f52a996@mail.gmail.com> @ 2006-11-27 11:07 ` David Prime 0 siblings, 0 replies; 14+ messages in thread From: David Prime @ 2006-11-27 11:07 UTC (permalink / raw) To: buildroot Well I have no idea whats going on with the patch, so I'll just make random changes til it works! (it's a very short patch, afterall). David On Mon, November 27, 2006 10:40 am, Gilad Rom wrote: > I dont think so - it requires patching both files for successful > compilation. > > > On 11/27/06, David Prime <david@primefarm.co.uk> wrote: > >> Hmm, the patch error output for that file isnt very helpful - could I >> just get rid of the numeric_members.cc part of the patch? >> >> On Mon, November 27, 2006 10:03 am, Gilad Rom wrote: >> >>> Well, the patch file actually patches two files, monetary_members.cc >>> and numeric_members.cc (If I remember correctly, unfortunately I dont >>> have the sources here at the moment), and the second part of the patch >>> needs to be modified. It is, however, very simple and straightforward. >>> a couple of UCLIBC #ifdef's here and there, nothing too nasty). >>> >>> >>> >>> Gilad >>> >>> >>> >>> On 11/27/06, David Prime <david@primefarm.co.uk> wrote: >>> >>> >>>> Aha. OK, by ported, do you mean copied and pasted to the 4.1 patch >>>> dir, or did you actually port it in some way? If you had to do >>>> anything other than copy it, I would be grateful to know what. >>>> >>>> Thanks. >>>> >>>> >>>> >>>> David >>>> >>>> >>>> >>>> On Mon, November 27, 2006 9:57 am, Gilad Rom wrote: >>>> >>>> >>>>> its the 204-... patch from the toolchain/gcc/4.2.0 directory, and >>>>> it is needed if you intend on building a C++ toolchain. Without >>>>> it, the build simply breaks. >>>>> >>>>> Gilad >>>>> >>>>> >>>>> >>>>> >>>>> On 11/27/06, David Prime <david@primefarm.co.uk> wrote: >>>>> >>>>> >>>>> >>>>>> I've tried a few: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> GCC 3.4.6, 4.1, 4.2 >>>>>> Using the daily snapshot - although I will try the one you are >>>>>> using to see what happens. What's that monetary_members.cc all >>>>>> about? Is it a fatal mistake not to use that patch or is it just >>>>>> some obscure function that will be broken? >>>>>> >>>>>> >>>>>> David >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Sun, November 26, 2006 11:47 pm, Gilad Rom wrote: >>>>>> >>>>>> >>>>>> >>>>>>> I'm using the 20061711 snapshot with gcc-4.1.0, including >>>>>>> the backported monetary_members.cc 4.2.0 patch, and it works >>>>>>> fine. >>>>>>> >>>>>>> >>>>>>> Which versions are you using? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 11/27/06, David Prime <david@primefarm.co.uk> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Anyone with a working arm c++ cross compiler care to share >>>>>>>> their buildroot .config ? >>>>>>>> >>>>>>>> >>>>>>>> When I attempt to build it, it appears not to build the cpp >>>>>>>> libraries to go with it, so when I try to link my programs >>>>>>>> it all fails miserably :( >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> David >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> buildroot mailing list buildroot at uclibc.org >>>>>>>> http://busybox.net/mailman/listinfo/buildroot >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> buildroot mailing list buildroot at uclibc.org >>>>>> http://busybox.net/mailman/listinfo/buildroot >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> buildroot mailing list buildroot at uclibc.org >>>> http://busybox.net/mailman/listinfo/buildroot >>>> >>>> >>>> >>> >> >> _______________________________________________ >> buildroot mailing list buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> >> > ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-04-19 12:32 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 8:59 [Buildroot] C++ cross compiler nina.holly at aerende.com
2006-11-15 11:59 ` Philippe Ney
2006-11-15 15:04 ` nina.holly at aerende.com
2006-11-15 16:33 ` Philippe Ney
2006-11-15 14:47 ` MikeW
2006-11-15 15:20 ` nina.holly at aerende.com
2006-11-15 15:50 ` MikeW
2006-11-16 16:37 ` Bernhard Fischer
[not found] ` <16888.82.171.61.116.1163702830.squirrel@webmail.aerende.com>
2007-04-19 12:32 ` [Buildroot] web browser with buildroot/uClibc and Qtopia 4 nina.holly at aerende.com
-- strict thread matches above, loose matches on Subject: below --
2006-11-26 22:46 [Buildroot] c++ cross compiler David Prime
[not found] ` <39d7ed000611261547r44bf1d47j1fe03b69c6e44cc4@mail.gmail.com>
2006-11-27 9:55 ` David Prime
[not found] ` <39d7ed000611270157n68ce8222o7079898ca2185acc@mail.gmail.com>
2006-11-27 10:01 ` David Prime
[not found] ` <39d7ed000611270203k2d20b505t532c809f63088a1b@mail.gmail.com>
2006-11-27 10:36 ` David Prime
[not found] ` <39d7ed000611270240q19434dfj192de4494f52a996@mail.gmail.com>
2006-11-27 11:07 ` David Prime
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox