This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Any suggestion on the best way to include all the paths for header files using GCC and Eclipse plugin for GNU GCC ARM?

Hello all..

I've developed all my life using IAR and I was willing to give a try on GNU GCC for ARM.

To start I have few folders and few files in a project which requires configuration to add the path for all header files using the -I key.

Is there a better, more automated way to include all the sub-directories under my src folder in the path list for the compiler to find all the header files?

My first though was to run a pre-compilation process that spits out a file with all the paths inside which I could some how add to the command line to be expanded when invoking the compiler.

Does anybody has found a solution for this problem?

Or knows how to expand a file with the paths when invoking the compiler?

Thanks you, Manoel

0