Unzip the shared folder into other Linux directories, and pay attention to the problem of soft connection

Source: Internet
Author: User

These days have been practicing driving, building a simple cross-compilation environment, cross-compiling tool chain and the Development Board source code are in the Linux directory, and decompression, but a simple cross-compiler command will always appear a strange error hint:

as:unrecongnized option ' mcpu=xxx ';

Think of the solution, and then after a lab brother's tips, finally understand. Here's a background to explain:

I am a driver development exercise in the Unbuntu virtual machine under Windows.

First, I set up a shared folder, copy the cross-compilation chain of compressed files, here my compressed file name is XXX.tar.gz

Then I used the following command line when I extracted it:

CP xxx.tar.gz/home/a270 (The directory I created)

Then I used a simple Hello World program to test whether the cross-compilation chain worked, and there was an error message as shown at the beginning of the article.

But then I changed a method, that is, the compressed file to the first test I set up the goal:

CP xxx.tar.gz/home/a270

Then unzip

TAR-ZXVF XXX.tar.gz

After another try, everything went well.

My god!

Originally I started to use the method, is the decompression under Windows, and then copied into the directory I created, so I lost a connection file (you can check it yourself)

Therefore, this error occurs, and if the compressed package is copied first, there will be no loss of the soft connection file.

Crossing do not believe, you can try it yourself, in the shared folder, unzip a compressed package and then copy to another directory, and then copy the compressed package into a directory, with the LS command to look at the number of files, contrast.

Here is an article to look at:

Http://blog.chinaunix.net/uid-29100821-id-3990728.html


Postscript:

The driver of Linux is not very studious, need to accumulate experience slowly in the practice of repetition, also test a person's patient degree, but, after the success of the thing, the sense of accomplishment that comes with it is also quite high.



This article is from the "Freehand" blog, please be sure to keep this source http://8827835.blog.51cto.com/8817835/1560503

Unzip the shared folder into other Linux directories, and pay attention to the problem of soft connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.