Opened 10 years ago

Closed 10 years ago

#7705 closed Bugs (fixed)

qcc calls non-existent 'ar'

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 (5)

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

comment:3 by Vladimir Prus, 10 years ago

Is there online documentation for "qcc -A" can I can reference from the code?

comment:5 by Vladimir Prus, 10 years ago

Resolution: fixed
Status: newclosed

(In [82577]) Use qcc driver to create archives.

Fixes #7705.

Note: See TracTickets for help on using tickets.