Re: problem to compile with -fno-stack-protector

2008-09-24 Thread David Higgs
On Wed, Sep 24, 2008 at 8:59 AM, alemus <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to compile a simple program written in C with -fno-stack-protector > option and i have some troubles... > > this is my simple file main.c: > > int main() > { > int i; > short int *screen = (short int *) 0xB8000;

problem to compile with -fno-stack-protector

2008-09-24 Thread alemus
Hi, I tried to compile a simple program written in C with -fno-stack-protector option and i have some troubles... this is my simple file main.c: int main() { int i; short int *screen = (short int *) 0xB8000; char msg[]="Hello World"; for(i=0; msg[i] != '\0'; *(screen++) = 0x1F00 | msg[i