diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-09-18 22:16:18 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-09-23 10:36:11 +0000 |
commit | 91e0274d265a8ce7070c3d039700341b8d31cf5c (patch) | |
tree | b4e04c0611bb108a8e7d2fdaf03f0a7911ed7c31 /src/lib/pkgconfig/pkgconfig.qbs | |
parent | 59e983d5d998d62930e590264ff70314b84f3a90 (diff) |
baremetal: Get rid of relative paths where it is possible for COSMIC
The COSMIC linker has some restrictions on the length of the object
paths, and it reports the error, like this:
ERROR: #error clnk cosmic.lkf:1 object pathname too long: (...)
Also the problem is that the COSMIC toolchain does not support the
response files. So, we used the workaround, where for each command
we set the working directory to the build directory, and instead of
the full paths to the files, we used the relative paths for all rules.
But this limitation makes it impossible to parse the compilation
warnings or errors at integrating with the various IDEs, because
the paths to the files are not absolute (e.g. integration with the
'problem' panes or something else).
Right now it is enough to leave the relative paths only when
specifying the paths to the libraries in the linker rule, while the
rest of the other paths are made absolute.
Change-Id: I159bf4e8163e5f9d0aaa1e2555df3dbd81f390c5
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'src/lib/pkgconfig/pkgconfig.qbs')
0 files changed, 0 insertions, 0 deletions