Re: [squid-users] Cross compiling Squid

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 22 Mar 2001 08:34:54 +1100

----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: <Tom.Williams@diversifiedsoftware.com>
Cc: <squid-users@squid-cache.org>
Sent: Thursday, March 22, 2001 8:17 AM
Subject: Re: [squid-users] Cross compiling Squid

> Tom.Williams@diversifiedsoftware.com wrote:
>
> > Hi! Has anyone tried building Squid using a cross compiler? Is it
> > possible to build Squid for Win32 using a Linux-hosted
Mingw32-targetted
> > cross compiler toolchain?
>
> With some manual help it should work.. problem is that Squid builds
some
> C program for use while building... and that you need to manually set
up
> include/autoconf.h with the mingw environment..
>
> --
> Henrik Nordstrom
> Squid hacker

And if you want a current version of squid you need to port squid to
MingW. It currently needs syslog and signals support & unix files paths
to operate correctly. The current "pure win32" ports all used NT only
calls which is why I updated the support for squid in cygwin/squid and
it now runs reliably non-blocking. Cygwin also got it's pthread support
upgraded recently <grin> so the aufs code runs properly under cygwin
(and that's on win9x and up). In case you're wondering, the pthread
support uses native threads, not userland threads.

Oh, did I mention squid 2.4 and up build OOTB on a base cygwin
gcc+perl+awk environment?

Rob
Received on Wed Mar 21 2001 - 14:35:50 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:46 MST