public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] about the location of package's  header file
@ 2001-01-12  0:54 ylyuan
  2001-01-12  1:34 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: ylyuan @ 2001-01-12  0:54 UTC (permalink / raw)
  To: ecos-discuss

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] about the location of package's  header file
  2001-01-12  0:54 [ECOS] about the location of package's header file ylyuan
@ 2001-01-12  1:34 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-01-12  1:34 UTC (permalink / raw)
  To: ylyuan; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-12  1:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-12  0:54 [ECOS] about the location of package's header file ylyuan
2001-01-12  1:34 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).