chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Static compile using csm question; how to add linked extension?


From: Matt Welland
Subject: Static compile using csm question; how to add linked extension?
Date: Tue, 25 Apr 2023 11:02:46 -0400

I'm trying to compile the simple.scm example from hypergiant statically using csm. Is this possible?

all.options:
-program simple -C -I/usr/include

simple.options:
-L -L/usr/lib/x86_64-linux-gnu -L -lepoxy -L -lGL -static -L -static -L -lm -L -ldl -link hyperscene

I've tried -R hyperscene and -link hyperscene but neither works.

What am I missing?

  '/home/mrwellan/data/buildall/ck5.3_23WW01/bin/csc' '-o' 'simple' '-I' '/home/mrwellan/data/opensrc/hypergiant-examples' '-C' '-I' '-C' '/home/mrwellan/data/opensrc/hypergiant-examples' '-static' '/home/mrwellan/data/opensrc/hypergiant-examples/simple.scm' '-C' '-I/usr/include' '-L' '-L/usr/lib/x86_64-linux-gnu' '-L' '-lepoxy' '-L' '-lGL' '-L' '-static' '-L' '-lm' '-L' '-ldl' '-link' 'hyperscene'
csc: could not find linked extension: hyperscene
command failed with non-zero exit status: '/home/mrwellan/data/buildall/ck5.3_23WW01/bin/csc' '-o' 'simple' '-I' '/home/mrwellan/data/opensrc/hypergiant-examples' '-C' '-I' '-C' '/home/mrwellan/data/opensrc/hypergiant-examples' '-static' '/home/mrwellan/data/opensrc/hypergiant-examples/simple.scm' '-C' '-I/usr/include' '-L' '-L/usr/lib/x86_64-linux-gnu' '-L' '-lepoxy' '-L' '-lGL' '-L' '-static' '-L' '-lm' '-L' '-ldl' '-link' 'hyperscene'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]