Embedded Linux development environment and some ideas for embedded entry

Source: Internet
Author: User

<span style= "font-family:arial, Helvetica, Sans-serif; Background-color:rgb (255, 255, 255); " > recently began to learn embedded Linux development, for embedded I am completely novice, but I still want to write something, to the later people to make a reference, let some people less go some detours. </span>


1. Install the basic development environment under host Linux:

$ sudo apt-get install build-essential$ sudo apt-get install bison flex$ sudo apt-get install Manpages-dev

2. Installing the cross-compilation tool chain

As a novice, I suggest that the use of a good tool chain has been made (because I have tried to compile their own, which met with countless wonderful questions, delayed a lot of time, but also a workout for themselves, if there is time I will tidy up the problems of the compilation and then write an article blog)


: http://download.csdn.net/detail/luoyhang003/7967663


Create a new directory:

$ mkdir work/tools$ CD Work/tools

Extract:

$ sudo tar xjf arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2

Set path:

$ sudo gedit/etc/envrionment

Add Path:work/tools/gcc-3.4.5-glibc-2.3.6/bin

Install ncurses:

Ncurses is a dynamic library that provides functional key definitions, screen drawing, and graphical interactive functions based on text terminals.

: http://download.csdn.net/detail/luoyhang003/7967731

We can use it here.

$ sudo arm-linux-gcc-v

To check if the cross-compilation toolchain is configured successfully


In addition, I have some small ideas and suggestions for embedded Linux development:

1. Getting started requires knowledge and skills that are progressively understood:

-------> will use Linux (this is the most basic)

-------> Understanding some of the commands in the cross compiler (ARM-LINUX-GCC, etc.)

-------> Understanding Makefile (Rules, common functions, etc.)

-------> Understanding Arm Assembly Instructions

-------> will use VI

-------> will use Linux basic commands (Tar,grep,find, etc.)


2. Recommended:

Tool Class Recommendation:

Code reading, editing tools: Kscope (Linux)

Telnet tool: C-kermit (Linux)


Recommend a book:

"Embedded Linux application Development"--Vedon



Embedded Linux development environment and some ideas for embedded entry

Related Article

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.