Problem when compiling #5813
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2017-09-11 by @gfwilliams Wow, thanks! Yes, I'd never encountered this because for ARM I tend to have set a compiler up globally - but I'm amazed nobody else hit it and reported it. I've just added a check for directories starting Posted at 2017-09-11 by ThomasChr Hello Gordon, works a treat! Thank you! Thomas |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-09-09 by ThomasChr
When I type 'make clean' all *.o-Files are deleted. That also deletes all *.o-Files in all Subdirectorys from the Espruino Code, including (in my Case) the Cross-Compiler which I downloaded in the root Directory of the source.
Make clean does the following:
I propose that we change that to:
If you don't do that alle *.o Files from the cross compiler are deleted, including (for example) crti.o which is leading to a linker error on compile, because the Linker needs that object file.
Is my method to just download the cross compiler into the source root directory that odd that no one has ever had a problem with that?
I can make an Issue and PR in the Repo If wanted.
Greetings,
Thomas
PS: Problem with my simple fix is -of course- that we need to change the folder name 'gcc-arm-none-eabi-6-2017-q1-update' in the file 'scripts/provision.sh' and 'Makefile' everytime we change it. It's not nice to have that at two places to maintain I suppose.
Beta Was this translation helpful? Give feedback.
All reactions