Re: how to use system function to execute the script

2018-06-21 Thread Chris Johns
On 22/06/2018 14:44, bin.w...@qkmtech.com wrote: > hi everyone: > > i want to use the "system()" to execute the script. but do not has output > > first i want to use "system()" to execute the shell cmd, but alse have no > output > > the test code is as followed: > >     system("ls -l"); >

how to use system function to execute the script

2018-06-21 Thread bin.w...@qkmtech.com
hi everyone: i want to use the "system()" to execute the script. but do not has output first i want to use "system()" to execute the shell cmd, but alse have no output the test code is as followed: system("ls -l"); system("joel /flash/script/spdloop_1");// "/flash/script/spdloop_1

Re: Error building libbsd

2018-06-21 Thread Christian Mauderer
Am 21.06.2018 um 16:26 schrieb Nicolas Tsiogkas: > And apparently I forgot the host. > > It is ubuntu 16.04: > Linux im-desktop-021 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 > 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux > gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  >

Re: Error building libbsd

2018-06-21 Thread Nicolas Tsiogkas
And apparently I forgot the host. It is ubuntu 16.04: Linux im-desktop-021 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) N. On Thu, Jun 21, 2018 at 4:19 PM Nicolas Tsiogkas wrote:

Re: Error building libbsd

2018-06-21 Thread Nicolas Tsiogkas
Hi Joel, waf-2.0.8 configure --prefix="$sandbox/5" --rtems-bsps=arm/xilinx_zynq_a9_qemu has the following output: Setting top to : /home/niko/sandbox/rtems-libbsd Setting out to : /home/niko/sandbox/rtems-libbsd/build RTEMS Version

Re: Error building libbsd

2018-06-21 Thread Joel Sherrill
On Thu, Jun 21, 2018 at 8:52 AM, Nicolas Tsiogkas wrote: > Hi, > > following the steps described in https://github.com/RTEMS/rtems-libbsd I > get an error > > "Could not create the directory ///h" while trying to build with waf 2.0.8 > > Is it a known problem? > Not to me. What's your configure

Error building libbsd

2018-06-21 Thread Nicolas Tsiogkas
Hi, following the steps described in https://github.com/RTEMS/rtems-libbsd I get an error "Could not create the directory ///h" while trying to build with waf 2.0.8 Is it a known problem? I have seen that the installation procedure has changed since 4.11 and now the tools and the bsps are insta