PDA

View Full Version : Segmentation faults D= ?



PhoenixJ
September 26th, 2006, 23:15
O noes!!
I used the Dreamcast development ISO, followed the instructions to a T, and then followed Metafox's SDL pong porting tutorial. Well, I found that when I tried to copmile it, I got this:


Leo@leodesktop /usr/local/dc/kos/kos/pong
$ make
rm -f pong.elf romdisk.*
kos-cc -c pong.c -o pong.o
sh-elf-gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [pong.o] Error 1

So I cleared pong.c to this:


int main(){
return 0;
}

and got the same error. What am I doing wrong ;_; ?