This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about the location of package's header file
- To: ylyuan <ylyuan dot at davform dot com>
- Subject: Re: [ECOS] about the location of package's header file
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 12 Jan 2001 09:34:22 +0000
- Cc: ecos-discuss <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <003801c07563$1e7a7d90$8664a8c0@yyl2000>
ylyuan wrote:
>
> Hi,from the document I know that includ_dir specify the desired location of a package's exported header files in the install tree. So from the cdl
> hal_i386_pc.cdl,
> cdl_package CYGPKG_HAL_I386_PC {
> display "i386 PC target"
> parent CYGPKG_HAL_I386
> define_header hal_i386_pc.h
> include_dir cyg/hal
> description "
> The i386 PC Target HAL package provides the
> support needed to run eCos binaries on an i386 PC."
> .....
> },
> I think the hal_i386_pc.h should locate in the include/cyg/hal,but in fact
> it in include/pkgconf.Why?
> Thanks a lot!
Configuration files (that go in include/pkgconf) are not the same as the
exported header files. Configuration header files are generated by the
configuration system and so live centrally in include/pkgconf.
Exported package header files go wherever include_dir says they should go.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine