You should add -O2 option during compile your program.
Example: cc -O2 -o example example.c

        ----------
        From:  Arturo Espinosa Soley [SMTP:[EMAIL PROTECTED]]
        Sent:  Sunday, June 13, 1999 8:37 AM
        To:  [EMAIL PROTECTED]
        Subject:  [rtl] segmentation fault?

        hi all,

        me again.

        im getting this message (segmentation fault) when i try to run a
program
        with a simple

        readb(0x02f8)

        in it.

        whats wrong?

        thanks,
        Art.


        pd:  all of you who have answered my lst messages (rt_com)  thanks
you
        _very_ much.  Im allmost there!


        --- [rtl] ---
        To unsubscribe:
        echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
        echo "unsubscribe rtl <Your_email>" | mail
[EMAIL PROTECTED]
        ----
        For more information on Real-Time Linux see:
        http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to