Mail Archives: djgpp/2009/10/20/15:57:56
20.10.2009 20:24, Rugxulo kirjoitti:
> Hi,
>
> On Oct 3, 3:41 am, Eli Zaretskii<e DOT DOT DOT AT gnu DOT org> wrote:
>>> From: RayeR<gl DOT DOT DOT 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.
>
> I don't have 4.4.1 installed on this computer, but it *seems* to be
> present. But I don't know if it actually works or not.
>
> http://www.delorie.com/djgpp/dl/ofc/current/v2gnu/gcc441b.zip/
>
> 8,002 07-25-09 11:00 lib/libssp.a
> 908 07-25-09 09:43 lib/libssp.la
> 610 07-25-09 11:00 lib/libssp_nonshared.a
> 939 07-25-09 09:43 lib/libssp_nonshared.la
>
It is not difficult to compile it together with GCC. I do not however know whether
it works.
Andris
- Raw text -