xmake v2.5.9 release, improves C++20 modules, and supports Nim, Keil MDK, and Unity Build

xmake Lua-based lightweight cross-platform construction tool, built with xmake.lua maintenance project, has a simpler and more intuitive configuration syntax than makefile/CMakeLists.txt, is very friendly to novices, can get started quickly in a short time, and enables users to focus more on the actual project development.In this release, we ha ...

Posted by levidyllan on Sun, 31 Oct 2021 12:54:13 -0700

Makefile related knowledge (based on the first phase of Weidong mountain course)

1. Disadvantages of traditional gcc -o instruction 9.5 Assuming that there are two C files, a.c and b.c, I call the function in b.c in the main function of A.C, then the compiler directive for generating executable program is: gcc -o test a.c b.c This instruction will preprocess, compile and assemble a.c and B.C respectively, finally ge ...

Posted by jfourman on Fri, 08 Oct 2021 01:38:46 -0700

Uboot 1.3.4 learning notes uboot configuration process

/mkconfig file analysis: Six important parameters of mkconfig script: Configure in the main makefile file: x210_sd_config : unconfig #$(@:_ config =) for the target_ config is replaced by "" to get x210_sd @$(MKCONFIG) $(@:_config=) arm s5pc11x x210 samsung s5pc110 #Output TEXT_BASE variab ...

Posted by jtapoling on Fri, 19 Jun 2020 22:28:33 -0700

[Golang] how to use the GRPC interface test tool? Swagger

This article does not involve principle, pure operation Operating system: Ubuntu 18.04 + AMD64. I packed the executable program of my own platform. For other platforms, please use the source code compilation tools. Before you start, install the protoc related tools and environment, specifically Bai ...

Posted by mustng66 on Fri, 19 Jun 2020 20:29:29 -0700

Kernel list_for_each_safe use

I'm a beginner. I've been learning the course of national inlay. I used to take notes on the book. Today I learned the kernel list. The teacher left a small problem. I did it myself. It's my experience You must not laugh The source program is as follows: #include <linux/kernel.h> #include < ...

Posted by nonphixion on Fri, 19 Jun 2020 04:00:00 -0700

Simple command line implementation based on STM32

Simple command line implementation based on STM32 Hi,long time no see. I looked at the atomic usmart and lwip official shell, and found that they all had one thing in common. After identifying the first command, I began to find the callback, and did not count the argc and argv. There are also many peo ...

Posted by warrenk on Sun, 07 Jun 2020 19:42:38 -0700

Remember that there is a bug in Gentoo's upgrade of mesa-17.1.10 software

Recently, I encountered a problem upgrading Gentoo, and there was a compilation error upgrading the media LIBS / mesa package media-libs/mesa-17.1.10 I'm upgrading from mesa-17.0.6. An error is reported when compiling. The error information is as follows /bin/sh ../../../libtool --tag=CC --mode=compile x86_6 ...

Posted by Nicholas on Tue, 05 May 2020 18:59:59 -0700

Binary installation of mysql installation

Download the tar of mysql binary installation file, and place the GZ package in / usr/local / Run script file #!/bin/bash function Cuser { groupadd -g 27 -o -r mysql useradd -M -N -g mysql -o -r -d /usr/local/mysql/data -s /bin/false -c "MySQL Server" -u 27 mysql } function file-tar { cd /usr/local/ ...

Posted by Jay87 on Wed, 29 Apr 2020 08:59:44 -0700

How gRPC can save your development time

Thanks for sharing- http://bjbsair.com/2020-04-10/tech-info/53317.html At this point, you should have heard of "gRPC" (at least once in the title). In this article, I will focus on the benefits of using gRPC as a communication medium between microservices. First of all, I will try to briefly introduce the history of architecture evo ...

Posted by youscript on Fri, 10 Apr 2020 05:14:49 -0700

Laobaixue programming -- an example analysis of "autotools" - netdata

Summary After learning the knowledge of autotool series for a few days, I found a practical project and compared it with the analysis. Due to the limited knowledge, I don't know how deep I can go. I'm looking forward to it. Netdata Netdata is a monitoring software, which is well done. Second level is a feature of netdata. I don't talk about it ...

Posted by shivani.shm on Thu, 09 Apr 2020 04:53:44 -0700