grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for successful compilation on FreeBSD Release-6.1


From: Harley D. Eades III
Subject: Re: Patch for successful compilation on FreeBSD Release-6.1
Date: 13 Jun 2006 20:23:26 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Yoshinori K. Okuji" <address@hidden> writes:

> On Tuesday 13 June 2006 23:52, Harley D. Eades III wrote:
> > off_t is defined here on FreeBSD.
> 
> I understand.

:)
 
> > I am not adding the include.  All I added was the #if statement so
> > this is not included on FreeBSD.  So you are correct about the header
> > file not being used on FreeBSD, because it's not. :)  IIRC, GNU/Linux
> > does define memalign in malloc.h though, so this could be the reason
> > it has been included already.
> 
> You are right. I've checked in my own fix for this problem. Since recent 
> FreeBSD supports posix_memalign, I think mine is a bit better. Can you 
> confirm that this works on FreeBSD?
Will do, but, I thought posix_memalign is not going to be active until
the next release?

This explains my concern (See Release:) :  
http://www.freebsd.org/cgi/query-pr.cgi?pr=85090

> BTW, I am afraid that there are some more dependencies on glibc, such as 
> argp. 
> How do you deal with those?
FreeBSD packages libargp, I add it to LDFLAGS. :)

Cheers
Harley




reply via email to

[Prev in Thread] Current Thread [Next in Thread]