view doc/README.Minix @ 166:d5705f226298

- added portasm support for adding .section .note.GNU-stack "hints" marking generated .o files from assembly files as not needing an executable stack * needed to be done manually in assembly files, in contrast to C translation units where gcc adds such hints automatically * this is for security, and better/easier integration of dyncall into other projects and builds, as dyncall doesn't need an executable stack * thanks to Thorsten Behrens for bringing this up to our intention and providing a first analysis * currently only done on Linux, but will be added across other platforms (where applicable) after some testing
author cslag
date Thu, 05 Jan 2017 11:07:29 +0100
parents 3e629dc19168
children
line wrap: on
line source

Building DynCall on Minix 3
===========================


Status:
-------
- Compiles under GNU tool-chain on Minix 3.1.8 using script for Makefile.generic
  or by building specific make targets
- dyncall: tests run ok.
- dyncallback: minor bugs on dyncallback (some cases fail)
- dynload: unsupported due to missing dynamic linker.
- Integration of ACK tool-chain is in progress but not functional at the moment...


Building:
---------

1) using configure and make:
$ ./configure
$ make libdyncall libdyncallback

2) or using build script for gcc (using Makefile.generic):
$ sh buildsys/scripts/batch-build-minix.sh


Minix facts:
------------
- posix make
- ACK (Amsterdam Compiler Kit) compiler for C, Modula-2 and Pascal
  using own Assembly format
- ACK Assembler:
   if very first character is '#' - C preprocessor is run..

- Minix 32-bit: 
- ACK 32-bit compiler: long long is not supported
- Minix 16-bit: not yet reviewed...