Opened 5 weeks ago

#875 new defect

Build-time compiler selection has no effect

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone:
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

When configuring the build we can select Clang as the compiler. Then we can build the system, which succeeds. However, in reality GCC cross compiler is still used. We can see this by looking at compile_commands.json in the build directory.

configure.sh doesn't take the COMPILER option into account when selecting cross_target. If this is fixed, it still doesn't work
because (native) Clang and (cross)gcc live in different directories
and this breaks the build (e.g. when working with libgcc).

Change History (0)

Note: See TracTickets for help on using tickets.