view doc/README.Minix @ 267:f8fe0f87b7c1

- removed configure-based checks for using --noexecstack / -Wa,--noexecstack in make A{S,C,}FLAGS variables, b/c inconsistent behaviour across platforms and often unusable, b/c: * braindead defaults (e.g. ASFLAGS on pretty much everything GNU, used in default suffix rules with *both* cc for .S and as for .s) * often took decisions on bogus private STACK headers in ELF files, set on platforms that lack any implementation, so pointless * tests have shown that only some GNU/* platforms and FreeBSD actually make use of this, if at all, that is... and for those, will switch back to .section .note.GNU-stack (next commit)
author Tassilo Philipp
date Sat, 27 May 2017 19:18:23 +0200
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...