New answers tagged arm
You cannot. gcc-4.9-base is a dependency of libstdc++6 (the shared library files for the C++ standard library), and both are part of ubuntu-minimal. gcc-X.Y-base packages do not contain compiler frontends, so if you don't want a gcc binary in your embedded system, just remove the corresponding gcc-X.Y package (gcc-4.9, for example).
Back up your data and Create a recovery disk. then unplug it. Enable developer mode by holding Esc + Refresh keys and then push the ‘power’ button. Installation: Open the terminal in Chromebook by hitting Alt+Ctrl+t and open shell with the command shell sudo sh ~/Downloads/crouton -t unity ( you can replace Unity with other desktop environments ) ...
Solution: Just compile the code statically: PC: cleber@cleber:~/test1$ arm-linux-gnueabi-gcc -static test1.c -o test1 cleber@cleber:~/test1$ sftp email@example.com firstname.lastname@example.org's password: Connected to 192.168.7.2. sftp> put /home/cleber/test1/* /home/debian/test1 Uploading /home/cleber/test1/test1 to /home/debian/test1/test1 ...
As mentioned by muru. You need to install the ARM architecture of that library. However they are not listed on http://packages.ubuntu.com site. Neither, it's easy to manage dependencies manually that way. Note: Setup a chroot environment, I found weird behavior when I added armhf architecture to my Ubuntu 15.04 amd64. I used dpkg --add-architecture=armhf. ...
gcc is a C compiler and g++ is a C++ compiler as mentioned in the answer from @rangineni balu. But you can use gcc as well to compile a C++ program with -libstdc++ as shown below: gcc -x c++ hello.cpp -lstdc++ Additional information: How to install gcc To compile the C program: gcc hello.c -o hello To run it: ./hello
Your file has .cpp extension, so gcc will try to compile with some settings for c++. cc1plus comes with g++ package, try installing it. I've faced a similar problem before. Install ARM g++ cross compiller sudo apt-get install g++-arm-linux-gnueabi Then use g++ instead gcc to get correct linking arm-linux-gnueabi-g++ test.cpp -o test
Install a driver this way. Connect to internet by wire and run sudo apt-get install linux-generic reboot and run sudo apt-get install git build-essential dkms git clone https://github.com/lwfinger/rtl8188eu.git sudo dkms add ./rtl8188eu sudo dkms install 8188eu/1.0 and reboot.
Top 50 recent answers are included