when the getcwd.c is compiled?
Joel Sherrill
joel at rtems.org
Wed Apr 27 16:30:59 UTC 2016
On Apr 27, 2016 12:31 PM, "printk" <opentkernel at 163.com> wrote:
>
> Hello, I am translating Makefile.am(s) to kbuild
>
> > #
> > # DIRECTORY_SCAN_C_FILES =
> > # ## Newlib SHOULD have provided this one
> > # DIRECTORY_SCAN_C_FILES += src/readdir_r.c
> > # ## Comment out when using these from newlib's unix directory
> > # DIRECTORY_SCAN_C_FILES += src/getcwd.c
> > #
> > # ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c
\
> > # src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c
src/getuid.c \
> > # src/seteuid.c src/setgid.c src/setuid.c src/setegid.c
src/setpgid.c \
> > # src/setsid.c
> >
> > CONFIG_DIRECTORY_SCAN_C_FILES := y
> > obj-$(CONFIG_DIRECTORY_SCAN_C_FILES) += readdir_r.o
> > #ERROR obj-$(CONFIG_DIRECTORY_SCAN_C_FILES) += getcwd.o
>
> --> # ## Comment out when using these from newlib's unix directory
> is this means when compiling with newlib, the getcwd.c is not needed?
> now the arm-rtemsX.XX-gcc is with newlib. is this file not compiled?
That's how I would interpret it. Are the files sti present?
Are the methods really coming from newlib?
> ...
> duhuanpeng.
> u74147@gmail.com
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160427/1b5b1ada/attachment-0002.html>
More information about the devel
mailing list