[LLVMdev] cygwin build patch

Chris Lattner clattner at apple.com
Mon Jan 19 14:01:10 PST 2009


On Jan 19, 2009, at 7:44 AM, Jay Foad wrote:

> LLVM doesn't build out of the box on Cygwin, because Cygwin defines
> uint32_t as "unsigned long" rather than "unsigned int".
>
> The attached patch allows me to build head of svn (rev 62510) on
> Cygwin using GCC 4. Can this be committed please?

Thanks applied:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090119/072367.html

> I realise that the DataTypes.h.in part might be controversial. Also,
> there's probably a better place to put it, but I'm not sure where.

I didn't apply this part.  What problems does it cause to not have  
this?  Can we fix uses of max and min?

-Chris



More information about the llvm-dev mailing list