On Wed, Sep 3, 2008 at 11:37 AM, Danny Backx <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-09-02 at 18:41 -0700, Pawel Veselov wrote:
>> Hi,
>>
>> I was looking at sys directory in newlib libc, and it seems
>> that stuff like "io.h" doesn't really belong there. The headers
>> get exported into public include/sys directory, and io.h contains
>> definitions for internal functions, structures and defines that
>> shouldn't be exported.
>>
>> I can provide a patch of moving it outta there, however, I'm not
>> sure how well the 'svn diff' will handle the 'svn mv', and also
>> what would be the appropriate place for such include files. I reckon
>> it might be libc/sys/wince directory, but I don't see any header files
>> in there. May be a new directory like 'libcint' can be created in
>> libc/sys/wince,
>> and all internal header files are kept there...
>
> Maybe the include file needs to stay where it is in the source directory
> but doesn't need to be installed ?

I guess it simplifies the installation, the install rule is in
src/newlib/newlib/Makefile, "install-data-local:", and it simply copies all
the header files into the appropriate directory in the installation prefix.
So that directory is designated to have the headers that need be installed
on the system. May be we shouldn't install any includes from this directory,
and only install those from src/newlib/newlib/libc/include/sys. But then some
headers will need to be moved.

Thanks,
  Pawel.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to