How to link libbsd into applications with waf

Heinz Junkes junkes at
Wed Mar 10 12:02:03 UTC 2021

Ok, whenever you wrote to the Maillist, you find the solution ;-)

It's too easy …

 bld(features = 'c cprogram',
      target = 'till.exe',
      cflags = '-g -O2',
      source = ['rtems_config.c',
      lib =[ ‘bsd’, ‘m’] )       !!!! Order is still important

Danke Heinz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2542 bytes
Desc: not available
URL: <>

More information about the users mailing list