[build2] build2 target trouble

Moldmann Max (DC-MA/ENG52-NA) Max.Moldmann at boschrexroth-us.com
Thu Apr 6 21:24:47 UTC 2017


Thanks that worked!
Might it be an idea to add the target triplet as an optional config parameter to the config.build file?
This way build2 wouldn't even have to call the compiler with -print-multiarch and -dumpmachine

Max

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Thursday, April 6, 2017 12:23 PM
To: Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com>
Cc: users at build2.org
Subject: Re: [build2] build2 target trouble

Hi Max,

Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com> writes:

> b --config-sub ./tricore-config.sub.cmd
> error: unable to execute ./tricore-config.sub.cmd: no such file or 
> directory

The build2 machinery doesn't yet support executing batch files on Windows (unlike Unix/scripts, on Windows you have to perform special steps to achieve this).

Can you try to write a simple program in C++?

Boris



More information about the users mailing list