[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Compiling multiple modules into a single executable
From: |
Thomas Chust |
Subject: |
Re: [Chicken-users] Compiling multiple modules into a single executable |
Date: |
Sun, 16 Oct 2016 23:37:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 2016-10-16 23:13, Josh Barrett wrote:
> [...]
> Can you generate a .import without compiling your module?
> [...]
Hello Josh,
as far as I know, the .import.scm files are always generated as a side
effect of compiling a source file.
However, it may be possible to discard the primary results of
compilation and reuse the import libraries for a second compiler run,
although this is not the intended approach.
You could also avoid the need for import libraries and unit declarations
by translating all your scheme code as a single compilation unit. Simply
concatenating all the files containing the module forms and compiling
the result should work.
Ciao,
Thomas
--
When C++ is your hammer, every problem looks like your thumb.
signature.asc
Description: OpenPGP digital signature
- [Chicken-users] Compiling multiple modules into a single executable, Josh Barrett, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, Christian Kellermann, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, Josh Barrett, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, Thomas Chust, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, Josh Barrett, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, Evan Hanson, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, John Cowan, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable, Josh Barrett, 2016/10/16
- Re: [Chicken-users] Compiling multiple modules into a single executable,
Thomas Chust <=
- Re: [Chicken-users] Compiling multiple modules into a single executable, Josh Barrett, 2016/10/16