Setup of kos32-gcc

High-level languages programming questions
  • Better to get SVN sources

    Actual gcc standard library is newlib
    http://websvn.kolibrios.org/listing.php ... Fnewlib%2F&

    System call wrappers are in http://websvn.kolibrios.org/filedetails ... kos32sys.h

    and i do some updates for tcc in
    http://websvn.kolibrios.org/filedetails ... os32sys1.h
  • Hmm.. maybe someone can update build.txt to reflect actual build environment with a detailed step to step explanation?

    All this bits and pieces of obviously outdated information doesn't make it easier from someone outside core team to get started ;-)

    (I now have 2 weeks vacation )

    Peter
  • petersieg16 wrote:Hmm.. maybe someone can update build.txt to reflect actual build environment with a detailed step to step explanation?

    All this bits and pieces of obviously outdated information doesn't make it easier from someone outside core team to get started ;-)

    (I now have 2 weeks vacation )

    Peter
    As i check now, you must download 2 files
    x86_64-linux-kos32-5.4.0.7z - this is compiler
    sdk-28-10-16.7z - this is Kolibri's compiled newlib and more other ported .a for 5.4

    then you need includes from newlib sources - get they all with SVN
    http://websvn.kolibrios.org/listing.php ... Fnewlib%2F

    and after setting path'es just try to build example (may be need fix relative pathes)
    http://websvn.kolibrios.org/listing.php ... 2Fhello%2F&
    when use makefile.shared - you need full koliblri image (in VM for example), there is libc.dll
    when use makefile.static - all needed libc fn's will be included in yours appl, so you can try run it in linux emulator

    for ex $make -f makefile.static
  • Who is online

    Users browsing this forum: No registered users and 3 guests