Right now, trying to compile a trivial C program fails.
The trivial program, in the MINIX /usr/tmp directory as sigtest.c (which I compiled in an Atari ST emulator just fine):
#include <stdio.h>
#include <signal.h>
int did_quit = 0;
void quit_handler(sig)
int sig;
{
did_quit = 1;
}
int main(argc, argv)
int argc;
char **argv;
{
void (*old_handler)() = signal(SIGQUIT, quit_handler);
while (!did_quit) {
/* do nothing */
}
printf("got SIGQUIT");
return 0;
}
The command line:
$ MINIXCOMPAT_DIR=/opt/minix \
MINIXCOMPAT_PWD=/usr/tmp \
MINIX_HOME=/usr/ast \
MINIX_TERM=vt100 \
MINIX_PATH=/usr/bin:/bin \
/usr/bin/cc -v sigtest.c -o sigtest
I'll update this in a bit with the expected and actual output.
Right now, trying to compile a trivial C program fails.
The trivial program, in the MINIX
/usr/tmpdirectory assigtest.c(which I compiled in an Atari ST emulator just fine):The command line:
I'll update this in a bit with the expected and actual output.