makeFile learning diary II (C + +) variables, automatic derivation, style and clearing in makeFile

edit : main.o kbd.o command.o dislplay,o \ insert.o search.o files.o utils.o cc -o edit main.o kbd.o command.o dislplay,o \ insert.o search.o files.o utils.o main.o : main.c defs.h cc -c main.c kbd.o : kbd.c defs.h command.h cc -c kbd.c command.o :command.c defs.h command.h cc -c insert.c display.o :display.c defs.h buffer.h cc -c display ...

Posted on Mon, 06 Dec 2021 15:12:21 -0500 by breath18

make tool and makefile file foundation of Linux tools

Why use the make tool and makefile file   it is very simple for us to compile a helloWorld program with gcc command, because it has only one file. However, when multiple files are compiled into an executable file, the linker is required to link the target file. However, when our project is very large and there are many source files design ...

Posted on Wed, 01 Dec 2021 01:05:51 -0500 by waseembari1985

Alpha lighting LED lamp (V) BSP project management

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface This is mainly to optimize the previous project, classify different files, learn how to sort out the project, create the folder classification of the project just like learning ...

Posted on Mon, 29 Nov 2021 00:24:23 -0500 by dreams4000

Makefile learning notes

Makefile learning notes make, use it Exercise file preparation // main.c #include<stdio.h> #include "input.h" #include "calcu.h" int main(int argc, char *argv[]) { int a, b, num; input_int(&a, &b); printf("%d + %d = %d", a, b, calcu(a, b)); return 0; } // calcu.c #include "calcu.h" int calcu(int a, int b) { return (a ...

Posted on Sat, 23 Oct 2021 11:00:47 -0400 by derzok

generate of Go tools

Go language provides a series of powerful tools, flexible use of which can make our project development easier. The tool set includes the following. bug start a bug report build compile packages and dependencies clean remove object files and cached files doc show documentatio ...

Posted on Thu, 25 Jun 2020 22:36:07 -0400 by sdjensen

Day1 notes of high tech small training (C + +)

preface IDE tools VSCode Syntax detection: include header file + compile built-in syntax Add header file detection: Ctrl + Shift + P - > C + + configuration editing, add the directory where the header file is located; Control terminal command environment variable PATH: echo %PATH% set i ...

Posted on Thu, 25 Jun 2020 04:00:29 -0400 by jaimitoc30

Notes on "from introduction to mastery of embedded system in maker College" -- 10 comprehensive mastery of embedded system transplantation

  catalog   01 basic concept of embedded, building of embedded development environment, building of target machine, building of TFTP service, building of NFS service 1. System migration overview and environment construction 1. General embedded system software components 2. Conditions and prospe ...

Posted on Wed, 17 Jun 2020 01:19:12 -0400 by hessodreamy

Using LLVM to cross compile Linux kernel modules in Windows

Simple common hello program cross compile Click here. Environment construction I'm not doing well, or even stupid, but no one teaches me. The current skill is to compile a kernel module and Makefile in linux normally. After normal use, look for the specific command to execute for decomposition: (t ...

Posted on Fri, 12 Jun 2020 06:05:28 -0400 by spec36

Python:sip Compilation and Use

1. Compile sip source code Unzip the sip source and run PythonConfigure.py-p win32-g++ (win32-g++ means using the mingw32 compiler). Modify generatedSipconfig.pyFile.When Python is installed in the C:\Program Files (x86) directory, place _Pkg_Program Files (x86) in config was replaced with Progra~2, as follows: _pkg_config = { 'arch': ...

Posted on Mon, 25 May 2020 12:21:04 -0400 by endersix

Writing an operating system kernel based on mykernel 2.0

Resource download: https://github.com/mengning/mykernel Experiment content: 1. Configure the experimental environment and complete the Linux kernel compilation. 2. Modify the source code of the system, and implement a simple operating system kernel based on mykernel 2.0. 3. This paper briefly analyzes the core functions and operation mechanism ...

Posted on Wed, 13 May 2020 01:02:14 -0400 by jack5100nv