Re: Cross compiling for cygwin under Linux.
On 31/03/16 18:03, Yaakov Selkowitz wrote: On 2016-03-31 10:29, Yaakov Selkowitz wrote: On 2016-03-31 09:40, Michel Van den Bergh wrote: Unfortunately the gcc for CentOS appears not to work... /usr/bin/i686-pc-cygwin-gcc-4.9.3 -c test.c *** buffer overflow detected ***: /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as terminated That sounds like a problem we had with mingw-binutils on EL6; we never figured out why this only happened there, but we did find a fix. I'll try to have an update to cygwin-binutils later today. Please yum update; this should be working now. Yes it now works! Thx, Michel -- 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
Re: Cross compiling for cygwin under Linux.
On 03/30/2016 06:19 PM, Yaakov Selkowitz wrote: On 2016-03-30 10:24, Michel Van den Bergh wrote: I am one of the authors of an application ( https://sourceforge.net/projects/icsdrone/ ) written for POSIX and I would like to provide a Windows binary. As I do not use Windows I would like to cross compile on Linux. I cannot use Mingw as our application relies heavily on the select() call. So my question is: is it possible to cross compile a Cygwin binary on Linux? Yes it is. Packages for Fedora and RHEL/CentOS are available here: https://copr.fedorainfracloud.org/coprs/yselkowitz/cygwin/ Unfortunately the gcc for CentOS appears not to work... /usr/bin/i686-pc-cygwin-gcc-4.9.3 -c test.c *** buffer overflow detected ***: /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as terminated === Backtrace: = /lib64/libc.so.6(__fortify_fail+0x37)[0x7f3c5d31e567] /lib64/libc.so.6(+0x100450)[0x7f3c5d31c450] /lib64/libc.so.6(__strncpy_chk+0x17b)[0x7f3c5d31b71b] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x442454] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x4429ee] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x45c3db] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x445fd1] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x417ab0] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x4059a0] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x4bb747] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x4bb7f6] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x40563c] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f3c5d23ad5d] /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/as[0x402b19] === Memory map: test.c: int main(){ return 0; } Is there any hope left? Best regards, Michel -- 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
Re: Cross compiling for cygwin under Linux.
On 30/03/16 18:19, Yaakov Selkowitz wrote: On 2016-03-30 10:24, Michel Van den Bergh wrote: I am one of the authors of an application ( https://sourceforge.net/projects/icsdrone/ ) written for POSIX and I would like to provide a Windows binary. As I do not use Windows I would like to cross compile on Linux. I cannot use Mingw as our application relies heavily on the select() call. So my question is: is it possible to cross compile a Cygwin binary on Linux? Yes it is. Packages for Fedora and RHEL/CentOS are available here: https://copr.fedorainfracloud.org/coprs/yselkowitz/cygwin/ Ah great! Best regards, Michel -- 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
Cross compiling for cygwin under Linux.
Hi, I am one of the authors of an application ( https://sourceforge.net/projects/icsdrone/ ) written for POSIX and I would like to provide a Windows binary. As I do not use Windows I would like to cross compile on Linux. I cannot use Mingw as our application relies heavily on the select() call. So my question is: is it possible to cross compile a Cygwin binary on Linux? Thank you! Michel -- 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
Re: [ANNOUNCEMENT] Updated: which-1.6-1
Thanks! Michel Corinna Vinschen wrote: I've updated the version of which to 1.6-1. This version generates exit codes compatible to the exit codes of GNU which. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: which-1.6-1
Hi, I am trying to build SDL_mixer with ogg support. During the build process the compiler complains about a missing _G_config.h. Is there an official cygwin version of the file? If so in what package? Regards, Michel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin package management
Hi, I am learning cygwin package management. Something I don't know how to do is how to install a binary package from ***within cygwin***, i.e. the equivalent of rpm -i.. Can somebody enlighten me? Regards, Michel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin package management
Igor Pechtchanski wrote: On Mon, 27 Dec 2004, Michel Van den Bergh wrote: Hi, I am learning cygwin package management. Something I don't know how to do is how to install a binary package from ***within cygwin***, i.e. the equivalent of rpm -i.. Can somebody enlighten me? Use the same 'setup.exe' tool that you used to install Cygwin. Thanks for the quick reply! I am sorry for being ignorant but setup.exe is a GUI program isn't it? I was looking for a simple command line tool like rpm that is executable from a script. P.S. Please start a new thread if asking unrelated questions, instead of following up to an existing thread (this applies to both of your postings today). Sorry about that! Regards, Michel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin package management
Of course. Otoh, providing a unix environment and then expecting people to resistancelessly accept a setup.exe gui to do package management is asking for trouble ;-) I second that! Regards, Michel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
where is _G_config.h?
I did some googling. According to this URL http://www.delorie.com/howto/cygwin/mno-cygwin-howto.html the include file _G_config.h should come with cygwin. However it is not present on my system. Can somebody enlighten me how to get it? I already have all development packages installed I think. Regards, Michel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: where is _G_config.h?
Thanks, I hadn't thought of looking at source packages. Regards, Michel Morche Matthias wrote: [EMAIL PROTECTED] wrote: ... the include file _G_config.h should come with cygwin. However it is not present on my system. Can somebody enlighten me ... Found 3 matches for _G_config.h. Look at http://cygwin.com/packages/ and search for it matthias -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Strange behaviour in the which command.
Hi, I am running a recent version of Cygwin. Problem: the command 'which' seems to return succesfully when it shouldn't. When I do which programthatdoesnotexist echo $? I get the value 0. Can somebody confirm this? Is this a bug? If so how to fix it? Regards, Michel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/