With the previous two topics we have covered the basic creation of the tool chain and some ways on using it. Now, I try to show how to actually build a more or less usefull tool.
The idea is to show the running processes of the system this excutable is started on with Process ID, Process Name and Owner(Usernae) of the running process in a table.
The easiest way is to use the 'git clone https://github.com/alemer/wxSimpleProcessList-multiOS
After downloading the project, the toolchain must be established with 'make tools'. This will download and extract the wxWidgets and gcc crosscompile toolchain which is allready build for linux x86_64 machines. All development are precompiled and based on the public and open source GCC and wxWidgets projects and are stored on this site(alemer.de). Please note. If you want to build on MAC or other machines, you will need to build the tool chain yourself following the instructions on Create Corss compile tools and Dev GUI Apps
After the download and extraction of the toolchains we can build the project. By calling 'make linux' and/or 'make win32' or 'make win64' or 'make win664_static'.
The output folder will contain the folder 'linux', 'win32', 'win64', 'win64_static' with the executables and if necessary. For linux version type './output/linux/prozShow'.
Note: You will need to adjust the LD_LIBRARY_PATH with 'export LD_LIBRARY_PATH=$PWD/tools/wxWidgets-3.0.2-x86_64_linux/lib64/:$LD_LIBRARY_PATH'
execute './output/linux/prozShow' execute 'wine ./output/win64_static/prozShow.exe'' WinXP 32Bit. Execute by double click on prozShow.exe
With this example project, it should be easier to start or adjust the project you want to develop. This is open source and released under the MIT license. As allways, no guarantee is given and I carry no responsibility.