$./a.out Memory fault / gcc
Wood <[email protected]>
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
Hi, can someone tell why this is not working on NetBSD?
(I'm running NetBSD/i386 3.1)
$cat test.c
#include<stdio.h>
void read(){
printf("function: read\n");
}
void write(){
printf("function: write\n");
}
int main(){
read();
write();
return 1;
}
$gcc test.c
$
$./a.out
Memory fault
$
It works perfect on Linux and FreeBSD.
Is read and write protected words?