Re: How to link libbsd into applications with waf

2021-03-10 Thread Heinz Junkes
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’] )

How to link libbsd into applications with waf

2021-03-10 Thread Heinz Junkes
I was able to build my application with the legacy stack (nfs, telnet, etc) using waf. “my" wscript file: from __future__ import print_function rtems_version = "5" try: import rtems_waf.rtems as rtems except: print('error: no rtems_waf git submodule') import sys sys.exit(1) def in