Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to clarify which gcc-arm-embedded version for compiling #54

Open
luc-github opened this issue Apr 22, 2016 · 2 comments
Open

Need to clarify which gcc-arm-embedded version for compiling #54

luc-github opened this issue Apr 22, 2016 · 2 comments

Comments

@luc-github
Copy link

luc-github commented Apr 22, 2016

Hi when use latest gcc-arm-none-eabi-5_3-2016q1-20160330-win32.exe from https://launchpad.net/gcc-arm-embedded
the compilation failed :

error: conflicting types for 'utoa'   
 extern char* utoa( unsigned long value, char *string, int radix );
...
stdlib.h:201:8: note: previous declaration of 'utoa' was here
 char * _EXFUN(utoa,(unsigned, char *, int));

if I use previous version gcc-arm-none-eabi-4_9-2015q3-20150921-win32.exe
I got different warnings (same as travis-ci output) but compilation is Ok

so need to freeze gcc-arm-embedded version or modify makefile to support latest version of gcc-arm-embedded

@luc-github
Copy link
Author

May be an easy solution to ensure right version is used is to add a download script with hard coded versions to download like they do for smoothieware : https://github.com/Smoothieware/Smoothieware/blob/edge/win_install.cmd

but it means to add all necessary tools also (at least for window)

Just my 2 cents

@luc-github luc-github changed the title Please clarify gcc-arm-embedded Version for compiling Need to clarify gcc-arm-embedded version for compiling Apr 22, 2016
@luc-github luc-github changed the title Need to clarify gcc-arm-embedded version for compiling Need to clarify which gcc-arm-embedded version for compiling Apr 22, 2016
@aethaniel
Copy link
Owner

indeed, ARM GCC releases from this year bring utoa in newlib. The GCC provided with Arduino IDE should work well, being the current reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants