From: William Pretty Security <[email protected]> Reply-To: <[email protected]> Date: Monday, January 13, 2014 at 8:21 PM To: <[email protected]> Subject: RE: [beagleboard] Re: Build a QT/11 application for beagleboard black by cross compiling from ubuntu
> > > > Hi William, > > > > If you run the following command, what do you get: > > > > /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ ‹version > > > > From the above error, g++ is missing. > > > > Regards, > > John > > Hi John: > > When I cut and paste you command into the terminal I get: > > beaglebone@ubuntu:~$ > /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ ‹version > bash: /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++: No such file > or directory > > If I simply enter: > beaglebone@ubuntu:~$ g++ -version > > I get: > > g++: error: unrecognized command line option Œ-version¹ > g++: fatal error: no input files > compilation terminated. > > > However, when I got to: /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin > I see the following: > > beaglebone@ubuntu:/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin$ ls > -l > total 172 > lrwxrwxrwx 1 root root 46 Mar 18 2011 addr2line -> > ../../bin/arm-angstrom-linux-gnueabi-addr2line > lrwxrwxrwx 1 root root 39 Mar 18 2011 ar -> > ../../bin/arm-angstrom-linux-gnueabi-ar > lrwxrwxrwx 1 root root 39 Mar 18 2011 as -> > ../../bin/arm-angstrom-linux-gnueabi-as > lrwxrwxrwx 1 root root 40 Mar 18 2011 cc -> > ../../bin/arm-angstrom-linux-gnueabi-gcc > lrwxrwxrwx 1 root root 44 Mar 18 2011 c++filt -> > ../../bin/arm-angstrom-linux-gnueabi-c++filt > lrwxrwxrwx 1 root root 40 Mar 18 2011 cpp -> > ../../bin/arm-angstrom-linux-gnueabi-cpp > -rwxr-xr-x 1 root root 4328 Mar 16 2011 dmesg.util-linux-ng > lrwxrwxrwx 1 root root 40 Mar 18 2011 g++ -> > ../../bin/arm-angstrom-linux-gnueabi-g++ > lrwxrwxrwx 1 root root 40 Mar 18 2011 gcc -> > ../../bin/arm-angstrom-linux-gnueabi-gcc > lrwxrwxrwx 1 root root 43 Mar 18 2011 gccbug -> > ../../bin/arm-angstrom-linux-gnueabi-gccbug > lrwxrwxrwx 1 root root 41 Mar 18 2011 gcov -> > ../../bin/arm-angstrom-linux-gnueabi-gcov > lrwxrwxrwx 1 root root 45 Mar 18 2011 gfortran -> > ../../bin/arm-angstrom-linux-gnueabi-gfortran > lrwxrwxrwx 1 root root 42 Mar 18 2011 gprof -> > ../../bin/arm-angstrom-linux-gnueabi-gprof > -rwxr-xr-x 1 root root 7660 Mar 16 2011 kill.util-linux-ng > lrwxrwxrwx 1 root root 39 Mar 18 2011 ld -> > ../../bin/arm-angstrom-linux-gnueabi-ld > -rwxr-xr-x 1 root root 18964 Mar 16 2011 login.util-linux-ng > -rwxr-xr-x 1 root root 30660 Mar 16 2011 more.util-linux-ng > -rwsr-xr-x 1 root root 58400 Mar 16 2011 mount.util-linux-ng > lrwxrwxrwx 1 root root 39 Mar 18 2011 nm -> > ../../bin/arm-angstrom-linux-gnueabi-nm > lrwxrwxrwx 1 root root 44 Mar 18 2011 objcopy -> > ../../bin/arm-angstrom-linux-gnueabi-objcopy > lrwxrwxrwx 1 root root 44 Mar 18 2011 objdump -> > ../../bin/arm-angstrom-linux-gnueabi-objdump > lrwxrwxrwx 1 root root 43 Mar 18 2011 ranlib -> > ../../bin/arm-angstrom-linux-gnueabi-ranlib > lrwxrwxrwx 1 root root 44 Mar 18 2011 readelf -> > ../../bin/arm-angstrom-linux-gnueabi-readelf > lrwxrwxrwx 1 root root 41 Mar 18 2011 size -> > ../../bin/arm-angstrom-linux-gnueabi-size > lrwxrwxrwx 1 root root 44 Mar 18 2011 strings -> > ../../bin/arm-angstrom-linux-gnueabi-strings > lrwxrwxrwx 1 root root 42 Mar 18 2011 strip -> > ../../bin/arm-angstrom-linux-gnueabi-strip > -rwsr-xr-x 1 root root 35560 Mar 16 2011 umount.util-linux-ng > -rwxr-xr-x 1 root root 4202 Mar 16 2011 usb-devices > > > Should there be two ³ - - ³ dashes ? Or did something go wrong with > ./configure ? Yeah, there are two dashes before version. The g++ in that folder is just a symbolic link to another file which is two directories down in the bin folder. Does this file exist relative to the original folder: ../../bin/arm-angstrom-linux-gnueabi-g++ Which I believe is this file: /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ Does this file exist? My guess is it doesn¹t exist. Clearly you do have a g++ on your system, but that would be the native x86 g++, and not the cross compile g++. Try typing arm- and then hit the tab twice (autocomplete) to see if you have any arm cross compiler installed on your system. Regards, John > > Bill > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
