This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
path to header files in subdir of install/include/ ?
- From: Heiko Panther <heiko dot panther at web dot de>
- To: ecos-discuss at sources dot redhat dot com
- Cc: heiko dot panther at web dot de
- Date: Mon, 10 Oct 2005 14:26:04 -0700
- Subject: [ECOS] path to header files in subdir of install/include/ ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi-
I just moved a larger codebase into an eCos package. All the files include the
headers without any path, like #include "header.h". But now, their header lives
in cyg/io/mypackage. To include it, I would probably have to do #include
"cyg/io/mypackage/header.h". However, I don't want to change all my files right
now. What would you suggest? Add " -I$(PREFIX)/include/cyg/io/mypackage" with
CFLAGS_ADD?
On a related note, should I use install/include/cyg for my package headers, or
something like install/include/myorganization ?
Best regards,
Heiko
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkNK3GwACgkQnbN38ql/gmDmxwCgsyH+EXEXfHtTNd3Xub6IwKu6
TYUAnRm0KR9b7VqXhLavPM2hYPNgsl0T
=crCO
-----END PGP SIGNATURE-----
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss