* Ned Ludd <[EMAIL PROTECTED]> schrieb:

Hi,

> I've been toying with an idea after seeing a patch which would abort()
> when it detected host includes for cross compiles. 

Funny idea, sorts out the dozens of crap makefiles easily (eg. written 
by those mindless jerks who refuse to learn not to use absolute pathes
or explicitly add standard includes).

> I did not like the idea of aborting as it prevented me from building 
> pkgs that had the same headers in $ROOT as /. 

sucessfully shot yourself ? ;-o

> Basic goal detect ^/usr/include and rewrite it to $ROOT/usr/include if
> using a cross compiler and ROOT is set.

#1: why not using the more standard and well-known $SYSROOT variable ? 

#2: why not just using the already existing '=' prefix ?

#3: WTH do you explicitly add an standard include path like 
    /usr/include ?! It's automatically done by gcc nothings an
    individual application has to cope with.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
        http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
        http://patches.metux.de/
---------------------------------------------------------------------

Reply via email to