How to link libbsd into applications with waf

Heinz Junkes junkes at fhi-berlin.mpg.de
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',
		  'rtems_netconfig.c',
                'rtems_init.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: <http://lists.rtems.org/pipermail/users/attachments/20210310/e93f24e9/attachment.bin>


More information about the users mailing list