Re: Port ndbm to newlib

Aditya Upadhyay <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAMZxAxc1Zqnm-=RyzvXvQfZoimL=5Gh=oJ=F2ZeR1ySceqBPWA@mail.gmail.com>
On Mon, Jun 3, 2019 at 6:10 PM Vaibhav Gupta <[email protected]> wrote:
>
> Hello everyone,
> I am trying to port  ndbm.h  from freebsd to newlib.
>
>    - i have placed  ndbm.c  file in    newlib/libc/posix   directory.
>    - this .c file requires    hash.h    which is inside     libc/search
>    directory

ndbm.c uses __hash_open method and that is available in db_local.h header file.

>    - The default source for header files , for .c files in posix is
>    libc/include.
>
> I want to add libc/search as an alternative path for ndbm.c for header
> files.
> I did checked    libc/posix/Makefile.am    and    libc/configure.in   to do
> so, but not getting any hint about it.
>
For regenerating configuration files, use autoreconf -fvi command in
the directory
where you have modified .am and .ac files, I guess.

> Please help me out with this.
>
> Thank You
> Vaibhav Gupta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.