Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/test/emmake/make.py
4133 views
1
# Copyright 2018 The Emscripten Authors. All rights reserved.
2
# Emscripten is available under two separate licenses, the MIT license and the
3
# University of Illinois/NCSA Open Source License. Both these licenses can be
4
# found in the LICENSE file.
5
6
import os
7
import shutil
8
9
10
def test(var):
11
val = os.getenv(var)
12
print('%s=%s' % (var, val))
13
print(shutil.which(val))
14
15
16
def check_ar():
17
print("Testing...")
18
test("CC")
19
test("CXX")
20
test("AR")
21
test("LD")
22
test("NM")
23
test("LDSHARED")
24
test("RANLIB")
25
print("Done.")
26
27
28
check_ar()
29
30