public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* i686-w64-mingw32-gcc -fstack-protector-strong
@ 2017-09-08 14:15 Lee
  2017-09-08 15:04 ` Marco Atzeri
  2017-09-08 23:01 ` Steven Penny
  0 siblings, 2 replies; 13+ messages in thread
From: Lee @ 2017-09-08 14:15 UTC (permalink / raw)
  To: cygwin

I'm hoping that I'm just missing a library, but which one?  Even
better, how to tell which one?

$ i686-w64-mingw32-gcc -o div.exe div.c
$ ./div
  works

$ i686-w64-mingw32-gcc -fstack-protector-strong -o div.exe div.c
$ ./div
C:/cygwin/home/Lee/t/div.exe: error while loading shared libraries: ?:
cannot open shared object file: No such file or directory

$ ldd div.exe
        ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffef5c50000)
        ??? => ??? (0x778f0000)
        wow64.dll => /cygdrive/c/WINDOWS/System32/wow64.dll (0x50e50000)
        wow64win.dll => /cygdrive/c/WINDOWS/System32/wow64win.dll (0x50dd0000)

$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks
Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-09-08 23:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08 14:15 i686-w64-mingw32-gcc -fstack-protector-strong Lee
2017-09-08 15:04 ` Marco Atzeri
2017-09-08 18:53   ` Lee
2017-09-08 19:25     ` Marco Atzeri
2017-09-08 20:01       ` Lee
2017-09-08 20:10         ` Marco Atzeri
2017-09-08 21:08           ` Lee
2017-09-08 22:34             ` Yaakov Selkowitz
2017-09-08 23:10               ` Lee
2017-09-08 21:09     ` Nellis, Kenneth
2017-09-08 21:42       ` Lee
2017-09-08 23:01 ` Steven Penny
2017-09-08 23:22   ` Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).