This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Porting newlib new backend
- From: Hendrik Greving <hendrik dot greving dot intel at gmail dot com>
- To: Jens Mehler <jens dot mehler at mni dot thm dot de>
- Cc: newlib at sourceware dot org
- Date: Thu, 29 Aug 2013 10:24:56 -0700
- Subject: Re: Porting newlib new backend
- Authentication-results: sourceware.org; auth=none
- References: <CANc4vhp4Px7TJqtxpx8-TPYWBLOPA0QOMaGL2KyMdsziSknRoA at mail dot gmail dot com> <521F6D27 dot 4000301 at mni dot thm dot de> <CANc4vhrM2re8J5DH1fmXzRG1OuVjSQKn0K6u-_5rnpRK0Hdb5Q at mail dot gmail dot com> <521F7720 dot 6050504 at mni dot thm dot de>
So far it has not, I am still not seeing myarch in libc/sys/configure.
I will let you know, thanks for help.
On Thu, Aug 29, 2013 at 9:30 AM, Jens Mehler <jens.mehler@mni.thm.de> wrote:
> Here is what I did :
>
> cd newlib-2.0.0
> autoconf
> cd libgloss
> autoconf
> cd eco32
> aclocal -I ..
> autoheader
> autoconf
> cd ../..
> cd newlib/
> cd libc/
> aclocal -I .. -I../..
> autoconf
> automake --cygnus Makefile argz/Makefile ctype/Makefile
> errno/Makefile \ iconv/Makefile locale/Makefile misc/Makefile posix/Makefile
> reent/Makefile \ search/Makefile signal/Makefile stdio/Makefile
> stdio64/Makefile stdlib/Makefile string/Makefile syscalls/Makefile
> time/Makefile unix/Makefile iconv/ccs/Makefile iconv/ces/Makefile
> iconv/lib/Makefile \ iconv/ccs/binary/Makefile
> cd machine/
> autoconf
> cd <target>/
> aclocal -I ../../..
> autoconf
> automake --cygnus Makefile
>
> Let me know if it worked :)
>
>
> With best regards
> Jens Mehler
>
> Am 29.08.13 17:56, schrieb Hendrik Greving:
>
>> Did you rebuild just by running aclocal, autoreconf, or more than that?
>> Regards,
>> Hendrik Greving
>>
>> On Thu, Aug 29, 2013 at 8:47 AM, Jens Mehler <jens.mehler@mni.thm.de>
>> wrote:
>>>
>>> Hi Hendrik,
>>>
>>> I ran into the same issue a few weeks ago.
>>> Try to rebuild the configure files in the respective directories.
>>>
>>> With best regards
>>> Jens Mehler
>>>
>>> Am 29.08.13 17:33, schrieb Hendrik Greving:
>>>
>>>> Hi, I have 'ported' newlib to a new backend, adding
>>>> sys/<myarch>/crt0.S (simplified crt0 for our machine).
>>>>
>>>> When configuring/building, integrated into fsf (GCC) directory, I am
>>>> getting the error
>>>>
>>>> /my/path/obj/fsf/./binutils/ranlib lib.a
>>>> make[5]: Leaving directory
>>>> `/my/path/obj/fsf/<myarch>/newlib/libc/locale'
>>>> Making all in sys
>>>> make[5]: Entering directory `/my/path/obj/fsf/<myarch>/newlib/libc/sys'
>>>> Making all in <myarch>
>>>> /bin/sh: line 0: cd: <myarch>: No such file or directory
>>>> Making all in .
>>>> make[6]: Entering directory `/my/path/obj/fsf/<myarch>/newlib/libc/sys'
>>>> make[6]: *** No rule to make target `<myarch>/lib.a', needed by `lib.a'.
>>>> Stop.
>>>> make[6]: Leaving directory `/my/path/obj/fsf/<myarch>/newlib/libc/sys'
>>>> make[5]: *** [all-recursive] Error 1
>>>> make[5]: Leaving directory `/my/path/obj/fsf/<myarch>/newlib/libc/sys'
>>>> Making all in reent
>>>>
>>>> Any hints what i might miss? I did add sys_dir=<myarch> to
>>>> configure.host, and ran aclocal and autoreconf.
>>>>
>>>> Thanks,
>>>> Regards,
>>>> Hendrik Greving
>>>
>>>
>