About endianess defination

daniel tian daniel.xntian@gmail.com
Sat Oct 10 08:02:00 GMT 2009


hi,
       I wrote the configure and make script including adding target
into the newlib.
       I added all those script according CRX archtechture.
       But when newlib was built, parameter passing to gcc I still
could see CRX path. Like the following:
       rice-elf-gcc
-B/home/daniel.tian/gcc_rice_dev/rice-binutils/build-newlib/rice-elf/newlib/
-isystem /home/daniel.tian/gcc_rice_dev/rice-binutils/build-newlib/rice-elf/newlib/targ-include
-isystem /home/daniel.tian/gcc_rice_dev/rice-binutils/newlib-1.16.0/newlib/libc/include
-B/home/daniel.tian/gcc_rice_dev/rice-binutils/build-newlib/rice-elf/libgloss/crx
-L/home/daniel.tian/gcc_rice_dev/rice-binutils/build-newlib/rice-elf/libgloss/libnosys
-L/home/daniel.tian/gcc_rice_dev/rice-binutils/newlib-1.16.0/libgloss/crx
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\"
-DPACKAGE_BUGREPORT=\"\" -I.
-I../../../../../newlib-1.16.0/newlib/libc/time -O2 -DHAVE_RENAME
-DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -g -O2   -c -o
lib_a-tzset_r.o `test -f 'tzset_r.c' || echo
'../../../../../newlib-1.16.0/newlib/libc/time/'`tzset_r.c

       Here is the path should not be here:
-B/home/daniel.tian/gcc_rice_dev/rice-binutils/build-newlib/rice-elf/libgloss/crx
       Because there is a folder named 'rice' in
/home/daniel.tian/gcc_rice_dev/rice-binutils/build-newlib/rice-elf/libgloss/.
       I don't know where I could make thing right.

       And I wonder whether it relates to some configure or makefile
which are auto generated by autotools(like aclocal, autoconf,
automake).
       I mean if I added new target, those autotools should be run to
generate new files.

       Sorry if those questions are too simple.
       Thanks very much.
       Best wishes.

                               daniel



More information about the Newlib mailing list