Hi all,
I have a problem where I am using a math library that creates a code explosion when compiled with O0.
So I would like to define a few files which have their own optimization level.
What would be the easiest way to do this in ChibiOS?
Thanks!
Compiling different files with different flags? Topic is solved
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: Compiling different files with different flags? Topic is solved
Hi,
1) Compile your library into a library using a separate makefile.
2) Import the library in ChibiOS makefile.
Giovanni
1) Compile your library into a library using a separate makefile.
2) Import the library in ChibiOS makefile.
Giovanni
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Who is online
Users browsing this forum: No registered users and 14 guests