Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up KOS for development?
Автор Сообщение
S. P. Gardebiter
Незарегистрированный

 
Сказал спасибо:
Поблагодарили раз(а) в сообщ.
Сообщение: #1
Setting up KOS for development?
Hello,
I've got huge trouble trying to compile KOS, I didn't even manage to compile the dc-chain. I found an old tutorial (written 2011) on some website but it didn't work either. The DC DEV ISO is also very outdated, so, how do I compile the new KOS? I already cloned it with GIT but I don't even know which version I've got because there is no clue about it in the whole package. Also a lot of missing information about how to get it run, is it just me or is that a bad style?
Anyway, I tried compiling the dc-chain by downloading gcc-core, gcc-g++ and gcc-objc version 4.5.2 and by inserting the mpfr, mpc and gmp lib into the gcc-4.5.2 directory. I've also downloaded binutils and newlib.
However, I took the version number from the tutorial, since there was no evidence in the KOS ReadMe.

Anybody got an idea how to compile it?
26.10.2012 20:09
Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7125
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #2
RE: Setting up KOS for development?
So you have a ready-made compilers or not?

[Изображение: barbers.png]
27.10.2012 18:19
Вебсайт Найти все сообщения Цитировать это сообщение
S. P. Gardebiter
Незарегистрированный

 
Сказал спасибо:
Поблагодарили раз(а) в сообщ.
Сообщение: #3
RE: Setting up KOS for development?
Well, I was not able to compile the toolchain as it always failed. So I've got no compiler to compile KOS with and I've got no idea which versions of these libraries I need.
29.10.2012 06:39
Цитировать это сообщение
superdefault Не на форуме
Пользователь
**

Сообщений: 24
Зарегистрирован: 06.01.2011
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 1 раз(а) в 1 сообщ.
Сообщение: #4
RE: Setting up KOS for development?
(29.10.2012 06:39)S. P. Gardebiter писал(а):  Well, I was not able to compile the toolchain as it always failed. So I've got no compiler to compile KOS with and I've got no idea which versions of these libraries I need.

i used the download script wich downloads
binutils-2.22, gcc-4.7.0 and newlib-1.20.0
and applied the patches
i also needed GMP 4.2+,MPFR2.3.1+ and MPC 0.8.0+
and i successfully compiled the toolchain.

still got an error building kos though.
(Последний раз сообщение было отредактировано 30.10.2012 в 00:32, отредактировал пользователь superdefault.)
29.10.2012 13:05
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7125
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #5
RE: Setting up KOS for development?
Show me the error message.

[Изображение: barbers.png]
(Последний раз сообщение было отредактировано 31.10.2012 в 11:40, отредактировал пользователь SWAT.)
31.10.2012 11:40
Вебсайт Найти все сообщения Цитировать это сообщение
S. P. Gardebiter Не на форуме
Новичок
*

Сообщений: 3
Зарегистрирован: 24.09.2013
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #6
RE: Setting up KOS for development?
It's me again. After kind of giving up, I'm back again. So sorry for bumping this thread.
I'm trying to compile this thing with Cygwin and I've got all the libraries now that I need. I still have trouble compiling the toolchain, the download and unpack scripts are running fine but "make" just doesn't work.
This is part of my log: http://pastebin.com/Z2ccKsF4

For some reason "mv" gives me errors.
Any idea?
24.09.2013 17:18
Найти все сообщения Цитировать это сообщение
sc_maxim Не на форуме
Пользователь
**

Сообщений: 94
Зарегистрирован: 27.11.2010
Рейтинг: 1
Сказал спасибо: 1
Поблагодарили 4 раз(а) в 4 сообщ.
Сообщение: #7
RE: Setting up KOS for development?
Looks like installing texinfo package to Cygwin may help You. According to the log, you get an errors in step which makes info's documentation. Try to install this package.
24.09.2013 18:34
Найти все сообщения Цитировать это сообщение
S. P. Gardebiter Не на форуме
Новичок
*

Сообщений: 3
Зарегистрирован: 24.09.2013
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #8
RE: Setting up KOS for development?
The package is already installed or do I need the sourcecode too?
25.09.2013 00:57
Найти все сообщения Цитировать это сообщение
Rio Не на форуме
Продвинутый
***

Сообщений: 365
Зарегистрирован: 04.04.2009
Рейтинг: 2
Сказал спасибо: 1
Поблагодарили 4 раз(а) в 4 сообщ.
Сообщение: #9
RE: Setting up KOS for development?
No, you don't need source code.
25.09.2013 03:12
Найти все сообщения Цитировать это сообщение
S. P. Gardebiter Не на форуме
Новичок
*

Сообщений: 3
Зарегистрирован: 24.09.2013
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщ.
Сообщение: #10
RE: Setting up KOS for development?
Why doesn't it work then?

Whatever, I've installed the source now and got an error message again (a different one) and had to install another library.
I still get error messages though. Undecided

Код:
make[3]: Entering directory `/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/m4/libstdc++-v3/include'
echo timestamp > stamp-pb
Makefile:1432: recipe for target `stamp-parallel' failed
make[3]: [stamp-parallel] Error 1 (ignored)
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template

Код:
libtool: compile:  /home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/./gcc/xgcc -shared-libgcc -B/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/./gcc -nostdinc++ -L/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3/src -L/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3/src/.libs -B/opt/toolchains/dc/sh-elf/sh-elf/bin/ -B/opt/toolchains/dc/sh-elf/sh-elf/lib/ -isystem /opt/toolchains/dc/sh-elf/sh-elf/include -isystem /opt/toolchains/dc/sh-elf/sh-elf/sys-include -I/home/SPGardebiter/kallistios/utils/dc-chain/gcc-4.7.3/libstdc++-v3/../libgcc -I/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3/include/sh-elf -I/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3/include -I/home/SPGardebiter/kallistios/utils/dc-chain/gcc-4.7.3/libstdc++-v3/libsupc++ -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=eh_type.lo -g -O2 -c ../../../../gcc-4.7.3/libstdc++-v3/libsupc++/eh_type.cc -o eh_type.o
Makefile:595: recipe for target `eh_type.lo' failed
make[5]: *** [eh_type.lo] Error 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
Makefile:595: recipe for target `function_type_info.lo' failed
make[5]: *** [function_type_info.lo] Error 1
make[5]: Leaving directory `/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3/libsupc++'
Makefile:475: recipe for target `all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3'
Makefile:381: recipe for target `all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/sh-elf/libstdc++-v3'
Makefile:9032: recipe for target `all-target-libstdc++-v3' failed
make[2]: *** [all-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3'
Makefile:869: recipe for target `all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/SPGardebiter/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3'

Here is the full log: http://files.tile44.org/etc/build-gcc-sh...-pass2.log
(Последний раз сообщение было отредактировано 25.09.2013 в 05:42, отредактировал пользователь S. P. Gardebiter.)
25.09.2013 05:34
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7125
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #11
RE: Setting up KOS for development?
1. Open dc-chain Makefile
2. Find line "makejobs=-j4"
3. Replace it to "makejobs="
4. Try again.

[Изображение: barbers.png]
25.09.2013 07:52
Вебсайт Найти все сообщения Цитировать это сообщение
Rio Не на форуме
Продвинутый
***

Сообщений: 365
Зарегистрирован: 04.04.2009
Рейтинг: 2
Сказал спасибо: 1
Поблагодарили 4 раз(а) в 4 сообщ.
Сообщение: #12
RE: Setting up KOS for development?
I wonder will he built this under a Cygwin
(Последний раз сообщение было отредактировано 26.09.2013 в 17:38, отредактировал пользователь Rio.)
26.09.2013 17:36
Найти все сообщения Цитировать это сообщение
SWAT Не на форуме
Администратор
*******

Сообщений: 7125
Зарегистрирован: 04.01.2005
Рейтинг: 30
Сказал спасибо: 130
Поблагодарили 1168 раз(а) в 726 сообщ.
Сообщение: #13
RE: Setting up KOS for development?
(26.09.2013 17:36)Rio писал(а):  I wonder will he built this under a Cygwin
Why not? I'm builded it under cygwin Smile

[Изображение: barbers.png]
27.09.2013 06:48
Вебсайт Найти все сообщения Цитировать это сообщение
Rio Не на форуме
Продвинутый
***

Сообщений: 365
Зарегистрирован: 04.04.2009
Рейтинг: 2
Сказал спасибо: 1
Поблагодарили 4 раз(а) в 4 сообщ.
Сообщение: #14
RE: Setting up KOS for development?
You was lucky Smile
07.10.2013 17:42
Найти все сообщения Цитировать это сообщение
Создать ответ 


Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
  Development programs? rouken 6 21972 22.06.2012 09:38
Посл. сообщение: SWAT

Переход:


Пользователи просматривают эту тему: 1 Гость(ей)