Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 21:38:25 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        obrien@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>, hackers@freebsd.org
Subject:   Re: Comments on pmake diffs for building on Linux
Message-ID:  <20080304193825.GA1947@kobe.laptop>
In-Reply-To: <20080304175810.GE90931@dragon.NUXI.org>
References:  <20080303.224256.635730757.imp@bsdimp.com> <20080304175810.GE90931@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-03-04 09:58, David O'Brien <obrien@FreeBSD.org> wrote:
>On Mon, Mar 03, 2008 at 10:42:56PM -0700, M. Warner Losh wrote:
>>  #include "arch.h"
>> +#include "config.h"
> 
> Are you able to use "CFLAGS+= -include config.h" instead?
> If so, that would mean less .[ch] changes.

Not with Sun Studio compilers on Solaris.

There's a fair amount of things that can be done without _any_ source
code change at all, but there's also a limit to what can be done.  My
$dayjob includes maintaining programs on Solaris, which built with
Studio compilers, so I've already bumped against things like this :(




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080304193825.GA1947>