On Apr 27, 2016 12:31 PM, "printk" <opentker...@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@rtems.org > http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel