This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: newlib building


Thanks for the quick response. I am building for the new arm based target.

while compiling we are getting the below error.

we added the new folder in newlib/libc/sys/armdsp, which contains target
related files. It seems these are not buildind, so which files are to be
updated to include crt0.S etc ?.

$ newlib-1.16.0-spxk7/configure --target=armdsp
--prefix=/usr/local--disable-shared --disable-thread --disable-nls
-----------------------------------------------------------------------------------------------------------------------------

checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f
2
*** This configuration is not supported in the following subdirectories:
     target-libgloss
    (Any other directories should still work fine.)


$make
-----

mkdir tmp
cd tmp; \
         for i in argz/lib.a stdlib/lib.a ctype/lib.a search/lib.a
stdio/lib.a
string/lib.a signal/lib.a time/lib.a locale/lib.a reent/lib.a  errno/lib.a
misc/
lib.a   syscalls/lib.a  machine/lib.a sys/lib.a; do \
           dspk7-ar x ../$i; \
         done; \
        dspk7-ar rc ../libc.a *.o
dspk7-ar: ../machine/lib.a: No such file or directory
dspk7-ar: ../sys/lib.a: No such file or directory

dspk7-ar: ../machine/lib.a: No such file or directory
dspk7-ar: ../sys/lib.a: No such file or directory
dspk7-ranlib libc.a
rm -rf tmp
rm -f crt0.o
ln sys/crt0.o crt0.o >/dev/null 2>/dev/null || cp sys/crt0.o crt0.o
cp: cannot stat `sys/crt0.o': No such file or directory
make[8]: *** [crt0.o] Error 1

Thanks and Regards
Raja Saleru


> Hi,
>
> What target (i.e. cpu / OS) are you building newlib for?
>
> Libgloss implements the CPU/OS specific initialisation functions (crt0)
> and
> system calls. It's not needed for every target though.
>
> Cheers,
> Jon
>
> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org] On
> Behalf Of raja.saleru@iap-online.com
> Sent: 25 November 2008 10:34
> To: newlib@sourceware.org
> Subject: newlib building
>
> Hi,
>
> I am trying build compile the newlib-1.16.0 version. I am getting the
> following error while configuration.
>
> checking how to compare bootstrapped objects... cmp --ignore-initial=16
> $$f1 $$f
> 2
> *** This configuration is not supported in the following subdirectories:
>      target-libgloss
>     (Any other directories should still work fine.)
>
>
> Here what exactly target-libgloss ? what can be the cause ? and how to fix
> it ?
>
> Thanks in advance
> Raja Saleru
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]