Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Apr 23, 2019 9:40 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: cygwin & KOS
PostPosted: Fri Mar 30, 2012 7:44 pm 
Offline

Joined: Fri Mar 30, 2012 7:33 pm
Posts: 2
Здраствуйте, появилась приблема, не компилируются библеотеки КолибриОС в cygwin (gcc в windows). Библеотеки скачены с SVN'а, делал все по инструкции Dimond'а. Появляется ошибка:
Spoiler: Show
Admin@microsof-1dd640 ~
$ export MENUETDEV=menuetlibc

Admin@microsof-1dd640 ~
$ cd menuetlibc

Admin@microsof-1dd640 ~/menuetlibc
$ make
make: Предупреждение: Время изменения файла `osrules.mak' находится в будущем (130549761)
Building library for cygwin
gcc mkversion.c -o mkversion.exe
mkversion.exe < version > include/libc/version.h
/bin/sh: mkversion.exe: команда не найдена
Makefile:3: recipe for target `all' failed
make: *** [all] Error 127

Версия cygwin 1.7
Помогите пожалуйста разобраться..
---
Hi. I need help. Cygwin compiler (gcc for windows) don't compile KolibriOS libraries. Log of cygwin terminal in spoiler on the up of topic. Thank you!


Top
   
 Post subject: Re: cygwin & KOS
PostPosted: Fri Mar 30, 2012 9:59 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
Проблема в том, что makefile для mingw и linux только. Если у тебя cygwin - надо его подправить.


Top
   
 Post subject: Re: cygwin & KOS
PostPosted: Fri Mar 30, 2012 10:07 pm 
Offline

Joined: Fri Mar 30, 2012 7:33 pm
Posts: 2
Стараниями sourcer'а получился вот такой make file:
Spoiler: Show
Code:
include osrules.mak
all: genconfig
   @echo Building library for $(VERSION_OS)
   gcc mkversion.c -o mkversion$(EXESUFFIX)

   make -C linuxtools
   make -C src depend
   make -C src
   make -C stub
   make -C programs

genconfig:

   @echo #$(NEED_UNDERSCORES) NEEDS_UNDERSCORES> config.h


clean:
   make -C src clean
   make -C linuxtools clean
   make -C stub clean
   make -C programs clean
   $(RM) mkversion$(EXESUFFIX)



Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited