Re: Cross compiling for cygwin under Linux.

2016-03-31 Thread Michel Van den Bergh
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-c

Re: Cross compiling for cygwin under Linux.

2016-03-31 Thread Yaakov Selkowitz
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/a

Re: Cross compiling for cygwin under Linux.

2016-03-31 Thread Yaakov Selkowitz
On 2016-03-31 09:40, Michel Van den Bergh wrote: 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 bina

Re: Cross compiling for cygwin under Linux.

2016-03-31 Thread Michel Van den Bergh
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

Re: Cross compiling for cygwin under Linux.

2016-03-30 Thread Michel Van den Bergh
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 comp

Re: Cross compiling for cygwin under Linux.

2016-03-30 Thread Yaakov Selkowitz
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 app

Re: cross-compiling to Linux?

2014-09-01 Thread Larry Hall (Cygwin)
On 08/31/2014 07:03 AM, Juhász Ádám wrote: Hi everyone, When I was developing one of my program, I've tried to compile it under Cygwin, and for some reason Cygwin's g++ always compiled it without extension (and maybe an ELF executable?), so I had to create an explicit rule to compile it with the

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 07:05:56PM -0400, Larry Hall (Cygwin) wrote: >On 6/18/2013 2:23 PM, Christopher Faylor wrote: >> On Tue, Jun 18, 2013 at 01:07:56PM -0500, Ren? Berber wrote: >>> On 6/18/2013 9:37 AM, Christopher Faylor wrote: >>> > There was a project out there many years ago which did

Re: Cross-compiling Linux kernel

2013-06-18 Thread Dan Kegel
On Tue, Jun 18, 2013 at 11:07 AM, René Berber wrote: > Here's another: http://atratus.org/ Aha. That's by Mike McCormack, a Codeweavers/Wine alum, who also did http://ring3k.org/ I wonder how far atratus is from running wine. At which point one could try running cygwin on wine on atratus on win

Re: Cross-compiling Linux kernel

2013-06-18 Thread Larry Hall (Cygwin)
On 6/18/2013 2:23 PM, Christopher Faylor wrote: On Tue, Jun 18, 2013 at 01:07:56PM -0500, Ren? Berber wrote: On 6/18/2013 9:37 AM, Christopher Faylor wrote: There was a project out there many years ago which did this. You could run simple linux binaries on Windows. I offered to host the deve

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 01:07:56PM -0500, Ren? Berber wrote: >On 6/18/2013 9:37 AM, Christopher Faylor wrote: > >>> There was a project out there many years ago which did this. You could >>> run simple linux binaries on Windows. I offered to host the development >>> on sourceware.org (aka cygwin.

Re: Cross-compiling Linux kernel

2013-06-18 Thread René Berber
On 6/18/2013 9:37 AM, Christopher Faylor wrote: There was a project out there many years ago which did this. You could run simple linux binaries on Windows. I offered to host the development on sourceware.org (aka cygwin.com) but, IIRC, the developer never responded. I don't remember what the

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 10:33:08AM -0400, Christopher Faylor wrote: >On Tue, Jun 18, 2013 at 12:17:06PM +0200, Corinna Vinschen wrote: >>On Jun 18 10:56, Fedin Pavel wrote: >>> [...] >>> P.S. I have got even more crazy idea, perhaps deserving a separate topic... >>> BSD systems have Linux binary c

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 12:17:06PM +0200, Corinna Vinschen wrote: >On Jun 18 10:56, Fedin Pavel wrote: >> [...] >> P.S. I have got even more crazy idea, perhaps deserving a separate topic... >> BSD systems have Linux binary compatibility layer. Could we have one ? >> Technically this depends on ab

Re: Cross-compiling Linux kernel

2013-06-18 Thread Corinna Vinschen
On Jun 18 16:06, Fedin Pavel wrote: > Hello! > > While waiting for the Big Thing to finish compiling, another crazy idea > visited my damaged brain. ;-) I wonder if it has some practical value... > > > That's not quite correct. The problem is not utilizing the native NT > > functions to creat

RE: Cross-compiling Linux kernel

2013-06-18 Thread Fedin Pavel
Hello! While waiting for the Big Thing to finish compiling, another crazy idea visited my damaged brain. ;-) I wonder if it has some practical value... > That's not quite correct. The problem is not utilizing the native NT > functions to create a process image, the problem is that the Win32 >

RE: Cross-compiling Linux kernel

2013-06-18 Thread Fedin Pavel
Hello! > > P.P.S. Perhaps the answer to (*) is NO, otherwise we would have fast > > fork()... > > That's not quite correct. The problem is not utilizing the native NT > functions to create a process image, Wow, interesting... I wonder if i could get a ELF with some plain hardcoded Windows s

Re: Cross-compiling Linux kernel

2013-06-18 Thread Corinna Vinschen
On Jun 18 10:56, Fedin Pavel wrote: > [...] > P.S. I have got even more crazy idea, perhaps deserving a separate topic... > BSD systems have Linux binary compatibility layer. Could we have one ? > Technically this depends on ability to construct process image manually in > Windows (*). Is it possi

RE: Cross-compiling Linux kernel

2013-06-17 Thread Fedin Pavel
Hello! > > 1. Cygwin misses linux/types.h > > I have been trying to get this fixed upstream for quite some time > without success: > > https://lkml.org/lkml/2012/6/11/604 > https://lkml.org/lkml/2012/10/15/608 > https://lkml.org/lkml/2013/4/28/84 Looks like Linux developers have taken over

Re: Cross-compiling Linux kernel

2013-06-17 Thread Yaakov (Cygwin/X)
On 2013-06-17 08:24, Fedin Pavel wrote: In order to cross-compile Linux kernel i have to patch host-side tools a little bit. Current problems are: 1. Cygwin misses linux/types.h I have been trying to get this fixed upstream for quite some time without success: https://lkml.org/lkml/2012/

Re: Cross-compiling Linux kernel

2013-06-17 Thread Chris J. Breisch
On 6/17/2013 11:18 AM, Corinna Vinschen wrote: On Jun 17 17:24, Fedin Pavel wrote: Hello! In order to cross-compile Linux kernel i have to patch host-side tools a little bit. Current problems are: 1. Cygwin misses linux/types.h 2. Cygwin defines the following ELF macros according to hos

Re: Cross-compiling Linux kernel

2013-06-17 Thread Corinna Vinschen
On Jun 17 17:24, Fedin Pavel wrote: > Hello! > > In order to cross-compile Linux kernel i have to patch host-side tools a > little bit. Current problems are: > 1. Cygwin misses linux/types.h > 2. Cygwin defines the following ELF macros according to host machine: > ELF_ST_BIND, ELF_ST_TYPE, ELF

Re: Cross-compiling for i686-pc-mingw32

2010-09-01 Thread Andrey Repin
Greetings, Christopher Faylor! With cygwin-1.5.25 I can cross-compile libraries for native win32 by starting with the following configure command: ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc -mno-cygwin' host_alias=i686-pc-mingw32 and that

Re: Cross-compiling for i686-pc-mingw32

2010-09-01 Thread Christopher Faylor
On Wed, Sep 01, 2010 at 06:35:18PM +0400, Andrey Repin wrote: >Greetings, Charles Wilson! > >>> With cygwin-1.5.25 I can cross-compile libraries for native win32 by >>> starting with the following configure command: >>> >>> ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc >>> -mno

Re: Cross-compiling for i686-pc-mingw32

2010-09-01 Thread Larry Hall (Cygwin)
On 9/1/2010 10:35 AM, Andrey Repin wrote: Greetings, Charles Wilson! With cygwin-1.5.25 I can cross-compile libraries for native win32 by starting with the following configure command: ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc -mno-cygwin' host_alias=i686-pc-mingw32 an

Re: Cross-compiling for i686-pc-mingw32

2010-09-01 Thread Andrey Repin
Greetings, Charles Wilson! >> With cygwin-1.5.25 I can cross-compile libraries for native win32 by >> starting with the following configure command: >> >> ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc >> -mno-cygwin' host_alias=i686-pc-mingw32 >> >> and that has worked fine o

Re: Cross-compiling for i686-pc-mingw32

2010-08-07 Thread Sisyphus
- Original Message - From: "Charles Wilson" However, with cygwin-1.7.5, it doesn't work. For now, use CC='gcc-3 -mno-cygwin'. Soon you'll be able to use a real, honest-to-god cross compiler version of gcc-4 instead (e.g. "i686-pc-mingw32-gcc") Thanks Chuck. That works well I

Re: Cross-compiling for i686-pc-mingw32

2010-08-07 Thread Charles Wilson
On 8/7/2010 9:45 AM, Sisyphus wrote: > With cygwin-1.5.25 I can cross-compile libraries for native win32 by > starting with the following configure command: > > ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc > -mno-cygwin' host_alias=i686-pc-mingw32 > > and that has worked fine

RE: Cross-compiling instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html obsolete?

2006-07-14 Thread Dave Korn
On 14 July 2006 16:21, Alain Knaff wrote: > I'm trying to build a Cygwin cross compiler (i.e. a compiler that runs > on Linux but generates binaries that run on Cygwin) > For this, I tried to follow the instructions at > http://x.cygwin.com/docs/cg/prog-build-cross.html > > However, these seem t

Re: Cross compiling cygwin...

2005-06-07 Thread Christopher Faylor
On Tue, Jun 07, 2005 at 04:34:43PM -0400, Craig A. Vanderborgh wrote: >Christopher Faylor wrote: >>On Tue, Jun 07, 2005 at 12:31:34PM -0700, Linda W wrote: >>>A working cross compiler? Perhaps that is part of the >>>non-straightforward problem. Have to build non-standard compiler and >>>whatever

Re: Cross compiling cygwin...

2005-06-07 Thread Brian Dessent
"Craig A. Vanderborgh" wrote: > I believe that this is a great example where it would be quite > appropriate for you to provide a more useful response than "go google > yourself". > > The details of exactly how a cross compiler should be configured for > Cygwin are quite important, yet they remai

Re: Cross compiling cygwin...

2005-06-07 Thread Craig A. Vanderborgh
Christopher Faylor wrote: On Tue, Jun 07, 2005 at 12:31:34PM -0700, Linda W wrote: A working cross compiler? Perhaps that is part of the non-straightforward problem. Have to build non-standard compiler and whatever other tools are that need to be created especially for such an environment.

Re: Cross compiling cygwin...

2005-06-07 Thread Christopher Faylor
On Tue, Jun 07, 2005 at 12:31:34PM -0700, Linda W wrote: >A working cross compiler? Perhaps that is part of the >non-straightforward problem. Have to build non-standard compiler and >whatever other tools are that need to be created especially for such an >environment. This is what I was referrin

Re: cross-compiling with ncurses

2004-11-27 Thread Brian Dessent
Jose Arcangel Salazar Delgado wrote: > I have a problem, i'm using gcc included in cygwin to compile a > ncurses aplication. The problem its that I need the installation of > cygwin to run the application. Its any way to compile a .exe that dont > need all the cygwin install (at least only a few l

Re: cross compiling

2003-02-01 Thread Elfyn McBratney
> If you type "How to build a cross compiler on cygwin 1.3.19 Sunday or > Monday after 3PM if it isn't snowing" you aren't going to get many hits. > > General searches work best. Then you refine from there. > > cgf, fish teacher And http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF

Re: cross compiling

2003-02-01 Thread Christopher Faylor
On Sun, Feb 02, 2003 at 01:43:59AM -, Elfyn McBratney wrote: >> maybe cgf wants to share a bit of his wisdom? :) > >I dowt that ;-) You don't need me. I typed "how to build a cross compiler" in google and got plenty of hits. As usual, I think people think too literally when they type in goog

Re: cross compiling

2003-02-01 Thread Elfyn McBratney
> yup that's what i want to do. however i'm not very experienced (not at > all) with building cross compilers. i've tried to build binutils and gcc > with target=i586-cygwin-pc but both failed on me. > i've googled around for a more detailed howto than the one i've found > which was quite outdated

Re: cross compiling

2003-02-01 Thread thomas
Elfyn McBratney <[EMAIL PROTECTED]> wrote: > Im pretty sure, it makes sense to me and kinda confirmed in the mknetrel > script, that Chris (cgf) uses cross gcc, binutils and maybe more that are > targetted for i{3,4,5,6?}86-pc-cygwin... So you'd need to compile at very > least a cross-compiler for

Re: cross compiling

2003-02-01 Thread Christopher Faylor
On Sun, Feb 02, 2003 at 12:21:22AM -, Elfyn McBratney wrote: >Sorry, could not be arsed to reformat this... :-) > >Im pretty sure, it makes sense to me and kinda confirmed in the mknetrel >script, that Chris (cgf) uses cross gcc, binutils and maybe more that are >targetted for i{3,4,5,6?}86-pc-

Re: cross compiling

2003-02-01 Thread Elfyn McBratney
r for cygwin. Regards, Elfyn McBratney [EMAIL PROTECTED] www.exposure.org.uk - Original Message - From: David Means To: thomas Sent: Sunday, February 02, 2003 12:11 AM Subject: Re: cross compiling Do I understand correctly that you want to compile (on a linux machine) a program that

Re: cross compiling

2003-02-01 Thread David Means
Do I understand correctly that you want to compile (on a linux machine) a program that makes use of the Cygwin API's, and which will be run on a windows machine?  A true "cross compile?" David On Sat, 2003-02-01 at 07:55, thomas wrote: hi, i want to compile cygwin apps in linux. i've searc

Re: Cross compiling on one OS for another

2002-10-10 Thread Shankar Unni
On 10/9/2002 2:02 PM, Gregg C Levine wrote: > Can I cross compile the binaries for, say, GNUMach for the Hurd, using > Cygwin? In theory, yes. You have to build a cross-compiler for GNUMach/Hurd using Cygwin ("host" will be Cygwin, "target" will be GNUMach/Hurd - don't know exactly what either