delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Date: | Sat, 03 Oct 2009 10:41:03 +0200 |
From: | Eli Zaretskii <eliz AT gnu DOT org> |
Subject: | Re: Does DJGPP GCC support SSP stack protection? |
In-reply-to: | <8a4f755b-e150-4b60-99a5-71151b54ff9b@m38g2000yqd.googlegroups.com> |
X-012-Sender: | halo1 AT inter DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-id: | <83bpkoq38g.fsf@gnu.org> |
References: | <8a4f755b-e150-4b60-99a5-71151b54ff9b AT m38g2000yqd DOT googlegroups DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: RayeR <glaux AT centrum DOT cz> > Date: Fri, 2 Oct 2009 16:10:08 -0700 (PDT) > > 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 Obviously, you need the libssp_noshared.a library to be available to the linker, for this to work.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |