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 08:56: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>
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
>
>