[Haskell-cafe] Re: Windows details

2008-09-13 Thread Jeff Zaroyko
Andrew Coppin andrewcoppin at btinternet.com writes: Jeff Zaroyko wrote: Andrew Coppin andrewcoppin at btinternet.com writes: Jeff Zaroyko wrote: In theory, you should be able to use mingw's windres tool to produce an object file from the resource definition which you'd

Re: [Haskell-cafe] Re: Windows details

2008-09-13 Thread Andrew Coppin
Jeff Zaroyko wrote: Andrew Coppin andrewcoppin at btinternet.com writes: I literally cannot *believe* how hard it is to put a few little words into that version tab... Every other kind of resource seems to be completely trivial, but this just won't work for toffee! I'm sure you'll

Re[2]: [Haskell-cafe] Re: Windows details

2008-09-13 Thread Bulat Ziganshin
Hello Andrew, Saturday, September 13, 2008, 5:13:21 PM, you wrote: Well, you must either be running under a different OS or have Cygwin installed, because when I try it, it just complains constantly. (Can't find gcc, can't find cc1, can't find crt.o, and so forth.) At this point, I'm giving

Re[2]: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Bulat Ziganshin
Hello Andrew, Thursday, September 11, 2008, 11:24:24 PM, you wrote: interestingly, XN seems to make GHC-compiled binary files dramatically *smaller*... huh??) probably it does `strip` on executable. -optl-s option does the same trick -- Best regards, Bulat

Re: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Andrew Coppin
Bulat Ziganshin wrote: Hello Andrew, Thursday, September 11, 2008, 11:24:24 PM, you wrote: interestingly, XN seems to make GHC-compiled binary files dramatically *smaller*... huh??) probably it does `strip` on executable. -optl-s option does the same trick And what exactly does

Re: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Andrew Coppin
Jeff Zaroyko wrote: Andrew Coppin andrewcoppin at btinternet.com writes: Jeff Zaroyko wrote: In theory, you should be able to use mingw's windres tool to produce an object file from the resource definition which you'd link with the rest of your program. Yes, there's a

Re: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Jonathan Cast
On Fri, 2008-09-12 at 18:07 +0100, Andrew Coppin wrote: Bulat Ziganshin wrote: Hello Andrew, Thursday, September 11, 2008, 11:24:24 PM, you wrote: interestingly, XN seems to make GHC-compiled binary files dramatically *smaller*... huh??) probably it does `strip` on

Re[2]: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Bulat Ziganshin
Hello Andrew, Friday, September 12, 2008, 9:07:28 PM, you wrote: probably it does `strip` on executable. -optl-s option does the same trick And what exactly does a strip mean, then? stripping C debugging info, which is useless anyway -- Best regards, Bulat

Re: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Andrew Coppin
Jonathan Cast wrote: On Fri, 2008-09-12 at 18:07 +0100, Andrew Coppin wrote: And what exactly does a strip mean, then? Remove the symbol table. And, for C, other debugging information. Historically, I believe, on Unix the distinction between an executable and an object file was

Re: [Haskell-cafe] Re: Windows details

2008-09-12 Thread Jonathan Cast
On Fri, 2008-09-12 at 18:35 +0100, Andrew Coppin wrote: Jonathan Cast wrote: On Fri, 2008-09-12 at 18:07 +0100, Andrew Coppin wrote: And what exactly does a strip mean, then? Remove the symbol table. And, for C, other debugging information. Historically, I believe, on

[Haskell-cafe] Re: Windows details

2008-09-11 Thread Jeff Zaroyko
Andrew Coppin andrewcoppin at btinternet.com writes: Steve Schafer wrote: Version information and application icons are both stored in data structures called resources; these are appended to the executable portion of the application, inside the EXE file. Thanks for your input.

Re: [Haskell-cafe] Re: Windows details

2008-09-11 Thread Andrew Coppin
Jeff Zaroyko wrote: In theory, you should be able to use mingw's windres tool to produce an object file from the resource definition which you'd link with the rest of your program. http://www.mingw.org/MinGWiki/index.php/MS resource compiler Yes, there's a cryptic comment burried away in

[Haskell-cafe] Re: Windows details

2008-09-11 Thread Jeff Zaroyko
Andrew Coppin andrewcoppin at btinternet.com writes: Jeff Zaroyko wrote: In theory, you should be able to use mingw's windres tool to produce an object file from the resource definition which you'd link with the rest of your program. Yes, there's a cryptic comment burried away in

Re: [Haskell-cafe] Re: Windows details

2008-09-11 Thread Steve Schafer
On Thu, 11 Sep 2008 20:24:24 +0100, you wrote: XN Resource Editor makes adding an icon child's play. (Interestingly, this also becomes the default window icon without any further action, which is nice.) That's how Windows works: If an EXE contains at least one icon, then the first icon is used