2 years, 7 months ago.

gcc make recompiles everything

Hi there community,

I'm hugely grateful for the ability to export to a gcc makefile build.

I have a previous project which I'd exported to make and it works excellently. This one uses "mbed" library. Today I've exported a project and although it does build it recompiles all files every time, which takes a very long time. This one uses "mbed-os" library.

I have some limited experience with makefiles, and would be willing to help contribute a fix back to mbed-os, but I figured i'd try and recruit teammates here..

Here's the code: https://developer.mbed.org/users/nargetdev/code/aaa_UDP_pixel_server/

Thanks!

2 Answers

1 year, 9 months ago.

This happens for me also when I export using VScode-gcc-arm or when I use Make-GCC-ARM. Both of them recompile every single file in the project every time.

2 years, 7 months ago.

Nathan,

I am not able to reproduce this when importing/exporting for make_gcc_arm with mbed CLI on Windows 10. Are you exporting from the online compiler? What is the operating system you are using?

Cheers, Sarah