forked from KolibriOS/kolibrios
48ecbd9104
It is added makefile for compilation of programs under KolibriOS with the help gcc. git-svn-id: svn://kolibrios.org@696 a494cfbc-eb01-0410-851d-a64ba20cac60 |
||
---|---|---|
.. | ||
libc | ||
samples | ||
source | ||
readme.txt |
The main file of metcc is "tcc.c". It certainly can be compiled by MinGW Studio. In order to compile MenuetOS program you must have start.o, metcc.exe in the same directory. The command line should be of type "metcc.exe program.c melibc.a -oprogram". In order to compile "melibc.a" you should configure paths is compile.js and run it. ------------------------------------------------------------------------------------ Äëÿ êîìïèëÿöèè melibc íåîáõîäèìî çàïóñòèòü ñêðèïò libc/make.cmd ïî óìîë÷àíèþ ñ÷èòàåòñÿ ÷òî â ïåðåìåííîé îêðóæåíèÿ PATH ó âàñ óêàçàí ïóòü ê ïàêåòó mingw32 è ê àññåìáëåðó fasm. ------------------------------------------------------------------------------------ Äëÿ áîëåå ïîäðîáíûõ èíñòðóêöèé îáðàùàòåñü íà ôîðóì â òåìó http://meos.sysbin.com/viewtopic.php?t=565&highlight=metcc For more help go to link above