chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism
Date: Fri, 1 Feb 2013 19:53:23 +0100
User-agent: Mutt/1.4.2.3i

On Thu, Jan 31, 2013 at 10:05:20PM +0100, Michele La Monaca wrote:
> Since I am getting tired of those PLATFORM=blablabla for every single
> make invocation (even for the "clean" target), I decided it was time
> to do something about it (yes, I am aware of that congif.make file)
> Maybe there are good reasons I overlooked not to use an auto-detection
> mechanism (maybe it's just not really feasible) but in case, here it
> is my naive attempt.  I wouldn't bet on it but I would give it a try.
> My main concerns are about those mingw things... I'am not exactly an
> expert in the field.

I think this is a useful addition, many people have complained about
having to provide the PLATFORM.  Long ago I added an alias to call
make with the proper flags, and pkgsrc (the package manager I use)
calls it with the right flags already, so I had almost forgotten
how annoying it is :)

Here's a slightly shortened version, grouping the BSDs together.
I've added Dragonfly, but not MirBSD.  I'm not aware of anyone reporting
that it works on MirOS, so I think we shouldn't be misleading MirOS users
by "auto-detecting" their platform which isn't really tested or supported.

Of course, if someone has tested it on MirOS and can confirm it works we
can add it to the list.  I'm unsure whether DragonFly still works, but I
did find some conditionals and at least it's listed here:
http://wiki.call-cc.org/platforms.

Could someone test this on Windows?

Cheers,
Peter
-- 
http://sjamaan.ath.cx

Attachment: 0001-tentative-platform-auto-detection-mechanism.patch
Description: Text document


reply via email to

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