Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.
/ os-bsu Public archive

A repository with Operating Systems labs (BSU/FAMCS)

Notifications You must be signed in to change notification settings

eug-vs/os-bsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

os-bsu

A repository with Operating Systems labs (BSU/FAMCS). Every lab interacts with WinAPI, though the development is going on Linux and involves using special utilities.

Prerequisites

MingW GCC

This compiler is needed for assembling WinAPI applications:

sudo apt-get install mingw-w64

NOTE: if linker exits with error (ld returned 1), try using c++ postfix (instead of gcc) in a $WINCC var in a Makefile.

Make

Make is a crucial tool for build automation:

sudo apt-get install build-essential

Wine

Wine is used for running compiled programs:

sudo apt-get install wine64

NOTE: if some dll's are missing, you might want to add your /usr/i686-w64-mingw-32/bin/ to Wine PATH.

Compiling

Makefile is already preconfigured to use mingw-64 compiler, so project is built with the simple command:

make

Running

Compiled programs are executed with Wine, for example:

wine bin/main.exe

CircleCI

CircleCI unleashes all power of automation: it is configured to compile and publish executables along with any tag pushed. They can be found in attachments to the releases.