﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4139	OMEdit fails to pass correct platform triplets when cross compiling an FMU	anatoly.trosinenko@…	Anatoly Trosinenko	"Some time ago the support for cross-compilation of FMUs was added to the OMEdit UI. Unfortunately, it is broken now. The settings dialog shows installed crosscompilers, but when I select any of them (even for my native platform) configure fails.

== Steps to reproduce ==
1. Go to Options dialog and on the FMI tab select some of target platform triplets. In my case the settings are: Version = 2.0, Type = ME&CS, Platforms: Static, x86_64-linux-gnu.
2. Compile some model to FMU from the UI
{{{#!modelica
model Test
  output Real x;
equation
  x = time;
end Test;
}}}

== Expected result ==
Model compiles without errors.

== Actual result ==
The following error is reported:
{{{
[1] 11:47:21 Translation Error
Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `&x86_64-linux-gnu': machine `&x86_64' not recognized
configure: error: /bin/bash ./config.sub &x86_64-linux-gnu failed
}}}
Note the {{{&}}} sign in the platform triplet.
"	defect	closed	normal	1.14.0	OMEdit	v1.11.0	fixed		
