Re: [riot-devel] Add static library to Makefile

2016-04-03 Thread Oleg Hahm
Baptiste, On Sat, Apr 02, 2016 at 05:25:46PM +0200, Baptiste Clenet wrote: > Weird, Oleg, did you try to use the library? Could you include .h file > which are inside .a library and use some functions. It was able to > find the library .a but couldn't link with function inside the library the

Re: [riot-devel] Add static library to Makefile

2016-04-02 Thread Baptiste Clenet
Weird, Oleg, did you try to use the library? Could you include .h file which are inside .a library and use some functions. It was able to find the library .a but couldn't link with function inside the library 2016-03-30 15:53 GMT+02:00 Oleg Hahm : > Hi Baptiste! > > On Wed,

Re: [riot-devel] Add static library to Makefile

2016-03-30 Thread Oleg Hahm
Hi Baptiste! On Wed, Mar 30, 2016 at 09:26:01AM +0200, Baptiste Clenet wrote: > I tried to use > APPDEPS += libexample.a > Does not work Strange, for me it works like charm: https://github.com/OlegHahm/miniature-dangerzone/tree/master/static_linked Cheers, Oleg -- /* When we have more time,

Re: [riot-devel] Add static library to Makefile

2016-03-30 Thread Baptiste Clenet
BASELIBS += libexample.a makes it work! 2016-03-30 12:04 GMT+02:00 Oleg Hahm : > Hi Kaspar! > > On Wed, Mar 30, 2016 at 10:51:03AM +0200, Kaspar Schleiser wrote: >> On 03/30/2016 09:26 AM, Baptiste Clenet wrote: >> > I tried to use >> > APPDEPS += libexample.a >> > Does

Re: [riot-devel] Add static library to Makefile

2016-03-30 Thread Oleg Hahm
Hi Kaspar! On Wed, Mar 30, 2016 at 10:51:03AM +0200, Kaspar Schleiser wrote: > On 03/30/2016 09:26 AM, Baptiste Clenet wrote: > > I tried to use > > APPDEPS += libexample.a > > Does not work > > Try copying it into the bin/$BOARD folder, then add > "USEMODULE += libexample" to your makefile.

Re: [riot-devel] Add static library to Makefile

2016-03-30 Thread Kaspar Schleiser
Hey, On 03/30/2016 09:26 AM, Baptiste Clenet wrote: > I tried to use > APPDEPS += libexample.a > Does not work Try copying it into the bin/$BOARD folder, then add "USEMODULE += libexample" to your makefile. Kaspar ___ devel mailing list

Re: [riot-devel] Add static library to Makefile

2016-03-30 Thread Baptiste Clenet
I tried to use APPDEPS += libexample.a Does not work 2016-03-30 9:23 GMT+02:00 Baptiste Clenet : > Hi, > > I would like to link libexample.a in my RIOT example, what should I > add in the Makefile? > > Thanks, > > -- > Baptiste -- Baptiste