About installing rz/sz command cross-compilation and usage method under Ubuntu16.04 Linux system

The operation is as follows:

    cd /tmp
     
    wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
     
    tar zxvf lrzsz-0.12.20.tar.gz && cd lrzsz-0.12.20
     
    ./configure

We want to transfer files between windows and linux development boards or products, modify the makefile under /tmp/lrzsz-0.12.20/src, replace all gcc with arm-linux-gcc, and replace ranlib with arm- linux-ranlib, modify the makefile under /lib in the same way, and then:

make

 Then copy the lsz and lrz under /usr/local/bin/ (in fact, you can find it directly in /src) to the root file system of the development board, or simply copy directly to a directory in the development board, such as usr \local\bin, and then the command line generates a soft link as in the second step, and then copy these two soft links to /usr/bin and it is ok.

But the problem that arises when I use it now is that Windows can send files to the development board, but it can’t receive it. I use SecureCRT and use a telnet connection. In theory, it should be possible, but I don’t know why. As a result, if there is a great god who knows how to solve it, you can leave a message in the comment area, and I will update the article if I find a solution later, thank you.

Reference blog: https://blog.csdn.net/oushaojun2/article/details/77948903

Guess you like

Origin blog.csdn.net/smile_5me/article/details/110956056
Recommended