From owner-freebsd-hackers@freebsd.org Thu Aug 2 15:17:18 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C12F106A01E for ; Thu, 2 Aug 2018 15:17:18 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from mail.metricspace.net (static-98-116-200-172.nycmny.fios.verizon.net [98.116.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id B250D8CD10 for ; Thu, 2 Aug 2018 15:17:17 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from [192.168.43.57] (mobile-166-171-184-77.mycingular.net [166.171.184.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id 978135FCA for ; Thu, 2 Aug 2018 15:17:10 +0000 (UTC) To: freebsd-hackers@freebsd.org From: Eric McCorkle Subject: A few build system questions Openpgp: preference=signencrypt Autocrypt: addr=eric@metricspace.net; prefer-encrypt=mutual; keydata= mDMEWue2FBYJKwYBBAHaRw8BAQdAP/qVPlXodV6pYO5b1Jw0eFyMhyDD7B5y5eFsciutEfS0 JEVyaWMgTWNDb3JrbGUgPGVyaWNAbWV0cmljc3BhY2UubmV0PoiWBBMWCAA+FiEEDxi/0rkj zd6Uc6cFCN/CKRbBwmwFAlrnthQCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA CgkQCN/CKRbBwmyGKAD/XTSBOItCKcYCPTlsaS1aQYVEwWXXFgdjWE+WsNdZUS8A/AhYAbQZ kNZNimE2rQLoklkfTA74qF/V257NuQi4QDcLuDgEWue2FBIKKwYBBAGXVQEFAQEHQKpZVyCG ync/xqejm2C1HKGXLJTUu38RvnrR3UYECz9nAwEIB4h+BBgWCAAmFiEEDxi/0rkjzd6Uc6cF CN/CKRbBwmwFAlrnthQCGwwFCQHhM4AACgkQCN/CKRbBwmyi2wEAmvaGt8QMjGELzm27gP4c jJGUi7oigsLmTiFPkpJqPz0A+QFBSCvxJaxCMyoVru/xB6bunpJ+Wtsj8HD1EuJOn4EJ Message-ID: Date: Thu, 2 Aug 2018 11:17:06 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zO67tjHzJp5CWgF4wa1SK9BCgUbGQeGCw" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 15:17:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --zO67tjHzJp5CWgF4wa1SK9BCgUbGQeGCw Content-Type: multipart/mixed; boundary="5hDHdUhoE0hufgw29YmlCoCm97Opiprhp"; protected-headers="v1" From: Eric McCorkle To: freebsd-hackers@freebsd.org Message-ID: Subject: A few build system questions --5hDHdUhoE0hufgw29YmlCoCm97Opiprhp Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, I have a few questions about how to accomplish some things with the build system. First, I want to create some libraries that exist only as static archives, meaning no shared object (ex. libsomething.a, but no libsomething.so) Second, how do I arrange to have sources be generated prior to the build? I can probably get away with having a shell script that does it, but I may require a tool to be built. Third, how would I go about creating a kind of derived library- that is, one created by invoking a whole bunch of linker/objcopy/etc commands on some other library? That is to say, "I want to get libsomething.a by running this script that processes libsomethingelse.a". Thanks, Eric --5hDHdUhoE0hufgw29YmlCoCm97Opiprhp-- --zO67tjHzJp5CWgF4wa1SK9BCgUbGQeGCw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQPGL/SuSPN3pRzpwUI38IpFsHCbAUCW2MgcgAKCRAI38IpFsHC bIE3AP49dZ0/FuQQpcrzKb6/EoRyu70jqCu+WSH09NCsct+f4wEAlze51EzwbH9H R2mjKNaqm0meprAzjVezyMQAa3IKGg8= =9TGq -----END PGP SIGNATURE----- --zO67tjHzJp5CWgF4wa1SK9BCgUbGQeGCw--