This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: About endianess defination
- From: daniel tian <daniel dot xntian at gmail dot com>
- To: newlib at sources dot redhat dot com
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, peng dot zheng at mavrixtech dot com
- Date: Sat, 10 Oct 2009 13:59:38 +0800
- Subject: Re: About endianess defination
- References: <121fadb80910091827i1ba9db8aub640ef0360fa112d@mail.gmail.com>
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