bug-gnustep
[Top][All Lists]
Advanced

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

Re: Slight improvement to common.make


From: Nicola Pero
Subject: Re: Slight improvement to common.make
Date: Thu, 14 Mar 2002 15:30:43 +0000 (GMT)

> Hello all,
> 
> the linker installed on OS X complains about empty directories. 
> Today I found this annoying and decided to exclude empty Header 
> and Library directories from the search list. The exclusion is 
> done at build time, so any change will be honored immediately.

Thanks for reporting - it is an interesting problem - are you sure that
the OS X linker/compiler does not have an option to shut up the warnings ?

That would be best.

The problem with you patch is that it slows down the processing a lot.  
It is firing a lot of subshells ... that stuff is forbidden :-)

If we really must add it, we must make it OS X - specific - ie the code
should not be executed on other platforms where the linker does not
complain (on most platforms it does not complain ... on those platforms it
would be an unnecessary slow-down of processing).  Given that any `if' for
a platform makes the software more complex to maintain, it would be better
if there was a linker/compiler flag to shut up the warnings, and add that
linker/compiler flag in target.make to the linker/compiler flags on that
platform.  That would keep gnustep-make clean and make you happy.




reply via email to

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