-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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 sigtestI'll update this in a bit with the expected and actual output.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working