tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] exec-shield documentation


From: Marcelo Jimenez
Subject: [Tinycc-devel] exec-shield documentation
Date: Sun, 28 Aug 2005 22:35:41 -0300

Ok, I have slipped into this one too :) The following patch documents it, so that people don't go crazy trying to figure out what is happening.

Cheers!

Index: README
===================================================================
RCS file: /cvsroot/tinycc/tinycc/README,v
retrieving revision 1.16
diff -u -r1.16 README
--- README    17 Jun 2005 22:07:03 -0000    1.16
+++ README    29 Aug 2005 01:31:27 -0000
@@ -54,6 +54,15 @@
 arguments are put in 'argc' and 'argv' of the main functions, as in
 ANSI C.
 
+========
+WARNING:
+========
+In order to use the `-run' option in your system, make sure you have
+exec-shield disabled, otherwise you will get a segmentation fault. The
+following command disables exec-shield:
+
+$ echo 0 >/proc/sys/kernel/exec-shield
+
 3) Examples
 
 ex1.c: simplest example (hello world). Can also be launched directly
Index: tcc-doc.texi
===================================================================
RCS file: /cvsroot/tinycc/tinycc/tcc-doc.texi,v
retrieving revision 1.26
diff -u -r1.26 tcc-doc.texi
--- tcc-doc.texi    17 Jun 2005 22:07:03 -0000    1.26
+++ tcc-doc.texi    29 Aug 2005 01:31:28 -0000
@@ -181,6 +181,14 @@
 @}
 @end example
 
address@hidden:} In order to use the `-run' option in your system, make sure you have
+exec-shield disabled, otherwise you will get a segmentation fault. The
+following command disables exec-shield:
+
address@hidden
+$ echo 0 >/proc/sys/kernel/exec-shield
address@hidden example
+
 @end table
 
 Preprocessor options:

Attachment: exec-shield.doc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]