classpath
[Top][All Lists]
Advanced

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

Re: Removing the TARGET_* layer or not ?


From: Tom Tromey
Subject: Re: Removing the TARGET_* layer or not ?
Date: 04 Aug 2004 10:40:07 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Roman" == Roman Kennke <address@hidden> writes:

Roman> the autotools should check for OSs/arches and include the correct
Roman> subdirs here. These functions must be kept minimal, in order to avoid
Roman> the effect that Michael mentioned, where you have to fix a bug multiple
Roman> times.

I just wanted to interject a note about auto* here -- if you do use
it, it is generally better not to look at OS/arch and instead just
write feature tests.  This gets the most benefit and there is a long
history showing this has less maintenance burden and better
portability.

I don't have an opinion on whether to keep TARGET_*, as libgcj has its
own native layer and is not likely to switch.  Just FYI, libgcj's
approach is a hybrid -- for Unixy systems we use autoconf feature
tests, but we treat Windows as a separate "flavor" with its own
implementation of native things.

Tom




reply via email to

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