delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/10/02/19:15:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: RayeR <glaux AT centrum DOT cz>
Newsgroups: comp.os.msdos.djgpp
Subject: Does DJGPP GCC support SSP stack protection?
Date: Fri, 2 Oct 2009 16:10:08 -0700 (PDT)
Organization: http://groups.google.com
Lines: 10
Message-ID: <8a4f755b-e150-4b60-99a5-71151b54ff9b@m38g2000yqd.googlegroups.com>
NNTP-Posting-Host: 94.113.157.229
Mime-Version: 1.0
X-Trace: posting.google.com 1254525008 6459 127.0.0.1 (2 Oct 2009 23:10:08 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 2 Oct 2009 23:10:08 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: m38g2000yqd.googlegroups.com; posting-host=94.113.157.229;
posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23)
Gecko/20090825 SeaMonkey/1.1.18,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I mean compiler options:
-fstack-protector
-fstack-protector-all
-fno-stack-protector
It seems to be recognized (currently using 4.4.1) but linker says an
error:

E:\DJGPP\C>gcc -Wall -fstack-protector -o pokus.exe pokus.c
e:/djgpp/bin/ld.exe: cannot find -lssp_nonshared
collect2: ld returned 1 exit status

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019