public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Compilation failures targeting arm-none-eabi, newlib-2.5.0
@ 2017-08-17 21:07 R0b0t1
  2017-08-18  7:41 ` R0b0t1
  0 siblings, 1 reply; 2+ messages in thread
From: R0b0t1 @ 2017-08-17 21:07 UTC (permalink / raw)
  To: newlib

Hello,

I am trying to produce a toolchain capable of generating programs for
Cortex-M devices. I am using GCC 7.2.0 and binutils-2.28.1 - for a
while I was expecting to require help from the developers of those
projects, and they likely would want to support their recent releases.
If it would be expedient to use older versions please let me know.

The basic outline of all steps I am undertaking is here:
https://istarc.wordpress.com/2014/07/21/stm32f4-build-your-toolchain-from-scratch/.
The steps given seem to be lacking in certain areas and differ from
his published script, although the script does not deal with setting
up Newlib.


The failure building Newlib is as follows:

make[6]: Entering directory
'<parent>/arm-none-eabi/build/newlib-2.5.0.20170720/arm-none-eabi/libgloss/arm/semihv2m'
make[6]: *** No rule to make target 'all'.  Stop.


Configuration is:

export TARGET=arm-none-eabi
export PREFIX=/home/R0b0t1/arm-none-eabi
export PATH=$PATH:/home/R0b0t1/arm-none-eabi/bin

./configure --target=$TARGET --prefix=$PREFIX --with-cpu=cortex-m4
--with-fpu=fpv4-sp-d16 --with-float=hard --with-mode=thumb
--enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld
--disable-nls --disable-newlib-supplied-syscalls


If I attempt to build Newlib inside the source directory, I briefly
receive a different error involving a missing Makefile. If this should
be pursued I can try to reproduce the error, but after trying to
reproduce it I end up with the error above.

Any help is greatly appreciated, I am doing my development in a VM for
now using the ARM released toolchains. It is kind of cumbersome.

R0b0t1.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compilation failures targeting arm-none-eabi, newlib-2.5.0
  2017-08-17 21:07 Compilation failures targeting arm-none-eabi, newlib-2.5.0 R0b0t1
@ 2017-08-18  7:41 ` R0b0t1
  0 siblings, 0 replies; 2+ messages in thread
From: R0b0t1 @ 2017-08-18  7:41 UTC (permalink / raw)
  To: newlib

On Thu, Aug 17, 2017 at 3:38 PM, R0b0t1 <r030t1@gmail.com> wrote:
> Hello,
>
> I am trying to produce a toolchain capable of generating programs for
> Cortex-M devices. I am using GCC 7.2.0 and binutils-2.28.1 - for a
> while I was expecting to require help from the developers of those
> projects, and they likely would want to support their recent releases.
> If it would be expedient to use older versions please let me know.
>

I forgot to mention I am using the latest 2.5.0 release, dated
7/20/2017. I reverted to the original 2.5.0 release and was able to
produce what I think are the correct binaries. I would still
appreciate help, especially any comments related to cross toolchain
generation.

> The basic outline of all steps I am undertaking is here:
> https://istarc.wordpress.com/2014/07/21/stm32f4-build-your-toolchain-from-scratch/.
> The steps given seem to be lacking in certain areas and differ from
> his published script, although the script does not deal with setting
> up Newlib.
>
>
> The failure building Newlib is as follows:
>
> make[6]: Entering directory
> '<parent>/arm-none-eabi/build/newlib-2.5.0.20170720/arm-none-eabi/libgloss/arm/semihv2m'
> make[6]: *** No rule to make target 'all'.  Stop.
>
>
> Configuration is:
>
> export TARGET=arm-none-eabi
> export PREFIX=/home/R0b0t1/arm-none-eabi
> export PATH=$PATH:/home/R0b0t1/arm-none-eabi/bin
>
> ./configure --target=$TARGET --prefix=$PREFIX --with-cpu=cortex-m4
> --with-fpu=fpv4-sp-d16 --with-float=hard --with-mode=thumb
> --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld
> --disable-nls --disable-newlib-supplied-syscalls
>
>
> If I attempt to build Newlib inside the source directory, I briefly
> receive a different error involving a missing Makefile. If this should
> be pursued I can try to reproduce the error, but after trying to
> reproduce it I end up with the error above.
>
> Any help is greatly appreciated, I am doing my development in a VM for
> now using the ARM released toolchains. It is kind of cumbersome.
>
> R0b0t1.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-17 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-17 21:07 Compilation failures targeting arm-none-eabi, newlib-2.5.0 R0b0t1
2017-08-18  7:41 ` R0b0t1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).