With this patch it works now on msys2.

On 16/06/16 09:04, Chris Johns wrote:
I still get the following error:

You need to run configure to make it work. Did you run configure again?

It will show if long commands are enabled.
--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

>From f31f487d70ea97155d524454d843c0aad2866911 Mon Sep 17 00:00:00 2001
From: Sebastian Huber <sebastian.hu...@embedded-brains.de>
Date: Thu, 16 Jun 2016 10:15:55 +0200
Subject: [PATCH] Use long commands on more platforms

---
 rtems.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rtems.py b/rtems.py
index d809606..3c0c976 100644
--- a/rtems.py
+++ b/rtems.py
@@ -32,12 +32,13 @@ import os.path
 from . import pkgconfig
 import re
 import subprocess
+import sys
 
 rtems_default_version = None
 rtems_filters = None
 rtems_long_commands = False
 
-windows = os.name == 'nt'
+windows = os.name == 'nt' or sys.platform in ['msys', 'cygwin']
 
 def options(opt):
     opt.add_option('--rtems',
-- 
1.8.4.5

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to