On 12/8/05, Christian H. Toldnes <[EMAIL PROTECTED]> wrote:
> Mike Orr wrote:
> > Is there a compiler flag to disable the stack-checking code?
>
> -fno-stack-protection
It doesn't seem to be recognized.
# export CFLAGS="-fno-stack-protection"
# ./configure
...
checking for gcc... gcc
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.
config.log says:
configure:2287: checking for C compiler default output file name
configure:2290: gcc -fno-stack-protection conftest.c >&5
cc1: error: unrecognized command line option "-fno-stack-protection"
configure:2293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2332: error: C compiler cannot create executables
See `config.log' for more details.
--
Mike Orr <[EMAIL PROTECTED]>
([EMAIL PROTECTED] address is semi-reliable)
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss