Вопросы от новичка про разработку на C/C++

High-level languages programming questions
  • megaDRONe wrote:1. Я понимаю что есть tcc и в принципе, его должно хватить, но у меня много кода на С++, в связи с чем вопрос: C++ для этой системы ок или моветон, так как он тяжелый? Если можно писать на С++, то как компилировать под UNIX(Mac в моем случае) ну или Windows? Если что, я умею читать ассемблер, но писать на нем не готов.
    There is a toolchain from Serge.
    megaDRONe wrote:2. Какой самый простой способ доставки скомпилированного кода в KolibriOS с хостовой ОС?
    Via hard disk images. Some emulators create disk images automatically from directory contents, e.g. for qemu use option '-drive if=ide,format=raw,file=fat:rw:.'.
    megaDRONe wrote:3. Есть ли какая-то графическая библиотека в системе с поддержкой OpenGL, например MESA или надо писать свой программный рендерер?
    There is TinyGL which may be too simple for 2020. There is also an outdated port of Mesa.
    megaDRONe wrote:4. Где можно посмотреть примеры на С как работать с управлением (захват клавиатуры и мыши), звуком и доступ к canvas/pixel buffer окна?
    Look at games marblematch3 and heliothryx in /programs/games/ in source repo (svn co svn://kolibrios.org).
  • dunkaist
    Awesome thank you for the advices!
    Still there was the question what is the best way to bring compiled apps from host OS to Kolibri?
  • megaDRONe wrote:Still there was the question what is the best way to bring compiled apps from host OS to Kolibri?
    dunkaist wrote:Via hard disk images.
    You can also use floppy and cd images.
    https://wiki.osdev.org/Disk_Images
  • WinImage for Img / UltraISO for ISO / You can also attach physical folder as HDD into your VM
    Из хаоса в космос
  • megaDRONe wrote:2. Какой самый простой способ доставки скомпилированного кода в KolibriOS с хостовой ОС?
    Можно ещё запустить на хосте какой-нибудь WebServer (apache, nginx или php в режиме сервера) и скачивать downloader-ом.
  • Who is online

    Users browsing this forum: No registered users and 3 guests