This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building Win32 apps on Linux? (To Cygwin users on the list...)


Christopher Faylor wrote:

On Fri, Sep 02, 2005 at 08:03:16PM +0200, Toralf Lund wrote:


I'm still not sure I see the full picture, though. Does this mean that actual cross build setup is readily available,



No.


It's tempting to ask why not...

But I guess there must be someone who has released binaries for this, if I decide that's what I want.

I just built a cross-compiler for my system. Normal users just run
gcc on windows.


Aren't the normal users those who have to support multiple platforms? It seems to me that it must be better to have the same build host for most or all of them...

Personally, I think I may possibly be talked into developing software for Windows, but only if I don't have to do actual work under the Windows environment, which I just don't like (that's why I'm here, right?)



and/or that it will be simple to cross-compile additional windows
binaries that rely on cygwin1.dll, on a Linux host?



You build a cygwin cross compiler more or less the same way as you build
any cross compiler. The standard windows libraries and headers are part
of the winsup/mingw and winsup/w32api directories which are supposed to
be used and automatically when you build a cross-compiler.


Where do these come from? The gcc distro itself? glibc?

I did have a stab at building a "cross gcc" for cygwin target, but I was using my newlib-based setup for embedded platforms, which I didn't really expect to work. And I was right. The build looked promising for a while, but eventually failed due to missing stdio.h or something like that. I didn't investigate the issue further.

- Toralf



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]