User Tools

Site Tools


archive:pgt302lab00

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
archive:pgt302lab00 [2026/02/08 03:46] – created - external edit 127.0.0.1archive:pgt302lab00 [2026/04/27 05:18] (current) – ↷ Links adapted because of a move operation azman
Line 64: Line 64:
 ====== Development Tool ====== ====== Development Tool ======
  
-We usually have a more powerful machine on our desktop compared to our target embedded platform. It is therefore more convenient to compile the target embedded software on our desktop (another reason would be simply because our platform is NOT capable of compiling its own program). This process usually requires us to have/build [[https://en.wikipedia.org/wiki/Cross_compiler|cross-compilers]] - compiler that runs on a host machine, but produces binary/executable for a target machine. You can read about [[notes:cross_compiler|my experience on cross-compilation here]].+We usually have a more powerful machine on our desktop compared to our target embedded platform. It is therefore more convenient to compile the target embedded software on our desktop (another reason would be simply because our platform is NOT capable of compiling its own program). This process usually requires us to have/build [[https://en.wikipedia.org/wiki/Cross_compiler|cross-compilers]] - compiler that runs on a host machine, but produces binary/executable for a target machine. You can read about [[notes:csys:cross_compiler|my experience on cross-compilation here]].
  
 A simple script to build a cross-compiler for Pi is available in [[https://github.com/azman/my1ubuild|my1ubuild project]]. The project is actually a repository of build scripts for various tools. The one we need here is [[https://github.com/azman/my1ubuild/blob/master/arm-gcc.build|arm-gcc.build]]. A simple script to build a cross-compiler for Pi is available in [[https://github.com/azman/my1ubuild|my1ubuild project]]. The project is actually a repository of build scripts for various tools. The one we need here is [[https://github.com/azman/my1ubuild/blob/master/arm-gcc.build|arm-gcc.build]].
Line 80: Line 80:
 ==== Building a Cross-compiler ==== ==== Building a Cross-compiler ====
  
-//**Note20211027** Notes on setting up latest MinGW environment is available [[notes:mingw_compiler|here]].//+//**Note20211027** Notes on setting up latest MinGW environment is available [[notes:csys:mingw_compiler|here]].//
  
 We need to have a working compiler. I prefer [[http://www.mingw.org/|MinGW (Minimalist GNU for Windows)]], so that is what I'll use to demonstrate. Download the mingw-get installer from [[https://sourceforge.net/projects/mingw/files/Installer/mingw-get|here]]. At the moment, the latest version is 0.6.2-beta-20131004-1, so I download ''mingw-get-0.6.2-mingw32-beta-20131004-1-bin.zip''.  We need to have a working compiler. I prefer [[http://www.mingw.org/|MinGW (Minimalist GNU for Windows)]], so that is what I'll use to demonstrate. Download the mingw-get installer from [[https://sourceforge.net/projects/mingw/files/Installer/mingw-get|here]]. At the moment, the latest version is 0.6.2-beta-20131004-1, so I download ''mingw-get-0.6.2-mingw32-beta-20131004-1-bin.zip''. 
archive/pgt302lab00.1770522381.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki