Opened 10 years ago

Last modified 10 years ago

#7705 closed Bugs

qcc calls non-existent 'ar' — at Version 2

Reported by: tvaneerd@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description (last modified by viboes)

qcc.jam diff:

@@ -217,7 +217,7
 actions piecemeal archive
 {
     $(RM) "$(<)"
-    ar rc "$(<)" "$(>)"
+     "$(CONFIG_COMMAND)" -A "$(<)" "$(>)"
 }

when compiling boost for QNX - cross-compiling from windows, the program 'ar' doesn't exist. But 'qcc' (CONFIG_COMMAND) itself can build the archive (and knows what the target architecture is), so it is best to ask it.

Change History (2)

comment:1 by anonymous, 10 years ago

avoid wiki formatting:

@@ -217,7 +217,7 @@
 actions piecemeal archive
 {
     $(RM) "$(<)"
-    ar rc "$(<)" "$(>)"
+     "$(CONFIG_COMMAND)" -A "$(<)" "$(>)"
 }
 

comment:2 by viboes, 10 years ago

Component: Building Boostbuild
Description: modified (diff)
Owner: set to Vladimir Prus
Note: See TracTickets for help on using tickets.