[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] http egg compile on windows
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] http egg compile on windows |
Date: |
Wed, 24 Nov 2004 08:07:16 +0100 |
On Tue, 23 Nov 2004 12:42:18 -0600, Patrick Brannan
<address@hidden> wrote:
> Does the http egg compile on windows? I'm having some linking issues:
>
>
> Does anyone know what I'm missing? It looks like it is supposed to
> link up with one of the win32 libraries.
>
That's correct. One has to link with ws2_32.lib. I suggest changing
http.setup to:
(make (("http-client.so" ("http-client.scm") (run (csc -s -O2 -d0
http-client.scm -lws2_32)))
("http-server.so" ("http-server.scm") (run (csc -s -O2 -d0
http-server.scm -lws2_32)))
("http-utils.so" ("http-utils.scm") (run (csc -s -O2 -d0
http-utils.scm -lws2_32))) )
'#("http-client.so" "http-server.so" "http-utils.so") )
(install-extension
'http
'("http-client.so" "http-server.so" "http-utils.so") )
cheers,
felix