Trước khi chúng tôi có thể phát triển ứng dụng và trình điều khiển thiết bị cho một hệ thống nhúng, chúng tôi cần một bộ công cụ (trình biên dịch, Tiện ích, và như vậy) sẽ tạo ra các nhị phân thực thi trong các định dạng thích hợp cho hệ thống đích. Xem xét một ứng dụng đơn giản viết ngày máy tính để bàn máy tính của bạn, chẳng hạn như ví dụ "Hello World" truyền thống. Sau khi bạn đã tạo ra mã nguồn trên máy tính của bạn, bạn gọi trình biên dịch đi kèm với của bạn máy tính để bàn hệ thống (thường là GNU gcc) để tạo ra một hình ảnh thực thi nhị phân. Hình ảnh đó tệp được định dạng đúng cách để thực thi trên máy tính mà trên đó nó được biên soạn. Điều này được gọi là nativecompilation. Nói cách khác, bằng cách sử dụng trình biên dịch trên desktop của bạn Hệ thống, bạn tạo ra mã số sẽ thực hiện vào hệ thống máy tính để bàn đó.Lưu ý rằng nativedoes không bao hàm một kiến trúc. Thật vậy, nếu bạn có một toolchain chạy trên tàu mục tiêu của bạn, bạn thực sự có thể biên dịch ứng dụng cho mục tiêu của bạn kiến trúc. Trong thực tế, một cách tuyệt vời để căng thẳng thử nghiệm một mới nhúng vào hạt nhân và tuỳ chỉnh Hội đồng quản trị là để liên tục biên dịch hạt nhân Linux trên nó.Phát triển phần mềm trong một môi trường phát triển đường đòi hỏi mà trình biên dịch đang chạy trên đầu ra máy chủ phát triển của bạn một nhị phân thực thi mà không tương thích với trạm làm việc phát triển máy tính để bàn mà trên đó nó được biên soạn. Chính lý do những công cụ này tồn tại là rằng nó thường là không thực tế hoặc không thể phát triển và biên dịch phần mềm hữu trên hệ thống nhúng vì tài nguyên (thường bộ nhớ và mã lực CPU) hạn chế.
đang được dịch, vui lòng đợi..