Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Stephen Eilert
On Sat, Feb 1, 2014 at 11:32 PM, Matt Welland estifo...@gmail.com wrote:

 Ok, no takers on my lame attempt at a financial bribe for making the next
 chicken-iup so I took a stab at it myself. I've made pretty good progress,
 no doubt thanks to all the great work done by the Chicken devs, so far
 chicken 4.8.0.5 and iup have compiled and seem to run fine. I'm stuck at
 getting the canvas-draw egg installed. Does the error below mean anything
 to anyone? Thanks.

 Note: one thing I did different is apply a patch to ffcall that claims to
 fix the trampoline conflict with windows executable protection. ffcall
 compiled fine and I doubt it is related to this issue but I thought I'd
 mention it.


I think the 'bribe' did not have anything to do with it. Some of us will
gladly improve Chicken without any financial reward - but having a 'bounty'
for open issues doesn't seem like a bad idea. Heck, I'd do it in exchange
for booze! :)

I think the issue is that Chicken for the moment does not seem to enjoy
much popularity on Windows. Having an installer could help mitigate some of
that, but I am not sure it's the only requirement. Perhaps being able to
compile with Microsoft's C compile would be better to ensure compatibility
with existing libraries? I took a stab at it some time ago and found the
build system to be a major pain, so I dropped the project.

That said, do you mind if I ask you what is it that you are working on
which requires Windows? :)


-- Stephen
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Peter Bex
On Mon, Feb 03, 2014 at 01:58:31PM -0200, Stephen Eilert wrote:
 I think the issue is that Chicken for the moment does not seem to enjoy
 much popularity on Windows. Having an installer could help mitigate some of
 that, but I am not sure it's the only requirement. Perhaps being able to
 compile with Microsoft's C compile would be better to ensure compatibility
 with existing libraries? I took a stab at it some time ago and found the
 build system to be a major pain, so I dropped the project.

Are you referring to our build system or the MSVC tools?  If the former,
I wouldn't mind answering some questions about it.  I know it has some
complicated Make macrology, but it's better than spelling out each rule
in full.

Cheers,
Peter
-- 
http://www.more-magic.net

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Mario Domenech Goulart
Hi,

On Mon, 3 Feb 2014 13:58:31 -0200 Stephen Eilert spedr...@gmail.com wrote:

 I think the issue is that Chicken for the moment does not seem to
 enjoy much popularity on Windows. Having an installer could help
 mitigate some of that, but I am not sure it's the only requirement.

I don't know.  Unless the installer drags a C toolchain as a runtime
dependency, I don't see how it would make CHICKEN more interesting on
Windows for developers (unless you consider csi runs satisfying
enough).

CHICKEN is primarily a compiler.  It compiles to C.  So, for any
practical use of CHICKEN (as a developer, I mean) you need a C
toolchain.  If you have a C toolchain, why not build CHICKEN itself?
It's pretty simple and lightweight on requirements.  Besides GNU Make,
you don't need anything else you'd need to install an egg or to compile
a hello-world-style program in Scheme.

Best wishes.
Mario
-- 
http://parenteses.org/mario

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Stephen Eilert
On Mon, Feb 3, 2014 at 1:02 PM, Peter Bex peter@xs4all.nl wrote:

 On Mon, Feb 03, 2014 at 01:58:31PM -0200, Stephen Eilert wrote:
  I think the issue is that Chicken for the moment does not seem to enjoy
  much popularity on Windows. Having an installer could help mitigate some
 of
  that, but I am not sure it's the only requirement. Perhaps being able to
  compile with Microsoft's C compile would be better to ensure
 compatibility
  with existing libraries? I took a stab at it some time ago and found the
  build system to be a major pain, so I dropped the project.

 Are you referring to our build system or the MSVC tools?  If the former,
 I wouldn't mind answering some questions about it.  I know it has some
 complicated Make macrology, but it's better than spelling out each rule
 in full.


Oh, don't get me wrong, I have no issues with it as an user (or even doing
minor changes on *nix). However, understanding and translating those rules
to Microsoft's tools required more sanity than I had available (or less
sanity, I can't tell!).


-- Stephen
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Peter Bex
On Mon, Feb 03, 2014 at 04:16:01PM -0200, Stephen Eilert wrote:
 Oh, don't get me wrong, I have no issues with it as an user (or even doing
 minor changes on *nix). However, understanding and translating those rules
 to Microsoft's tools required more sanity than I had available (or less
 sanity, I can't tell!).

Have you considered digging into CHICKEN's historical build systems?
We used to have MSVC support before it fell into disrepair.  I think
it worked with both Autofools and CMake (certainly the latter).
You might be able to resurrect some of that stuff, or at least take
a peek at how it used to be done.

Cheers,
Peter
-- 
http://www.more-magic.net

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread Martin DeMello
This might be useful:
http://fedoraproject.org/wiki/Features/Windows_cross_compiler

(not used it personally, just wanted to share the link)

martin


On Mon, Feb 3, 2014 at 7:58 AM, Stephen Eilert spedr...@gmail.com wrote:


 On Sat, Feb 1, 2014 at 11:32 PM, Matt Welland estifo...@gmail.com wrote:

 Ok, no takers on my lame attempt at a financial bribe for making the next
 chicken-iup so I took a stab at it myself. I've made pretty good progress,
 no doubt thanks to all the great work done by the Chicken devs, so far
 chicken 4.8.0.5 and iup have compiled and seem to run fine. I'm stuck at
 getting the canvas-draw egg installed. Does the error below mean anything
 to anyone? Thanks.

 Note: one thing I did different is apply a patch to ffcall that claims to
 fix the trampoline conflict with windows executable protection. ffcall
 compiled fine and I doubt it is related to this issue but I thought I'd
 mention it.


 I think the 'bribe' did not have anything to do with it. Some of us will
 gladly improve Chicken without any financial reward - but having a 'bounty'
 for open issues doesn't seem like a bad idea. Heck, I'd do it in exchange
 for booze! :)

 I think the issue is that Chicken for the moment does not seem to enjoy
 much popularity on Windows. Having an installer could help mitigate some of
 that, but I am not sure it's the only requirement. Perhaps being able to
 compile with Microsoft's C compile would be better to ensure compatibility
 with existing libraries? I took a stab at it some time ago and found the
 build system to be a major pain, so I dropped the project.

 That said, do you mind if I ask you what is it that you are working on
 which requires Windows? :)


 -- Stephen


 ___
 Chicken-users mailing list
 Chicken-users@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/chicken-users


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread John Cowan
Martin DeMello scripsit:

 This might be useful:
 http://fedoraproject.org/wiki/Features/Windows_cross_compiler
 
 (not used it personally, just wanted to share the link)

We already support that using cross-linux-mingw.

-- 
Man has no body distinct from his soul,  John Cowan
for that called body is a portion of the soulco...@ccil.org
discerned by the five senses,http://www.ccil.org/~cowan
the chief inlets of the soul in this age.  --William Blake

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-03 Thread John Cowan
Peter Bex scripsit:

 Have you considered digging into CHICKEN's historical build systems?
 We used to have MSVC support before it fell into disrepair.  I think
 it worked with both Autofools and CMake (certainly the latter).
 You might be able to resurrect some of that stuff, or at least take
 a peek at how it used to be done.

I would suggest a simpler approach to MSVC support.  Just forget the whole
Make-style build, and just build using CMD.  The C compiler (as distinct
from the C++ compiler) is fast enough to rebuild everything every time
without much headache.  And there really isn't anything to conditionalize
on if you are using MSVC with the exception of 32-bit vs. 64-bit,
so you can just have the CMD script(s) copy msvc{32,64}-config.h to
chicken-config.h.

-- 
It was impossible to inveigle   John Cowan co...@ccil.org
Georg Wilhelm Friedrich Hegel   http://www.ccil.org/~cowan
Into offering the slightest apology
For his Phenomenology.  --W. H. Auden, from People (1953)

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users