Re: Create a self contained object file like fat jars from java

2024-01-14 Thread Richard (Rikki) Andrew Cattermole via D.gnu
On 15/01/2024 12:47 AM, pizza_dox_ wrote: OK to make it clear. I wanted to call d from c so that I can write a n64 game with d. But compiling the d object files while using higher features like classes, resulted in missing dependencys. So because GCC doesnt understands d I need an object

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread pizza_dox_9999 via D.gnu
On Sunday, 7 January 2024 at 18:14:12 UTC, Renato wrote: On Friday, 5 January 2024 at 22:10:31 UTC, pizza_dox_ wrote: Hi, I am trying with gdc to create the equivalent of a fat jar. So for that I would need the standard dlang library included in the object or library file. Does somebody

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread Richard (Rikki) Andrew Cattermole via D.gnu
On 08/01/2024 7:14 AM, Renato wrote: On Friday, 5 January 2024 at 22:10:31 UTC, pizza_dox_ wrote: Hi, I am trying with gdc to create the equivalent of a fat jar. So for that I would need the standard dlang library included in the object or library file. Does somebody know the needed gdc

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread Renato via D.gnu
On Sunday, 14 January 2024 at 09:36:16 UTC, pizza_dox_ wrote: On Sunday, 7 January 2024 at 18:14:12 UTC, Renato wrote: On Friday, 5 January 2024 at 22:10:31 UTC, pizza_dox_ wrote: Hi, I am trying with gdc to create the equivalent of a fat jar. So for that I would need the standard

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread pizza_dox_9999 via D.gnu
OK to make it clear. I wanted to call d from c so that I can write a n64 game with d. But compiling the d object files while using higher features like classes, resulted in missing dependencys. So because GCC doesnt understands d I need an object file which has everything included d needs to

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread Richard (Rikki) Andrew Cattermole via D.gnu
On 15/01/2024 12:42 AM, pizza_dox_ wrote: On Sunday, 14 January 2024 at 10:05:12 UTC, Richard (Rikki) Andrew Cattermole wrote: On 08/01/2024 7:14 AM, Renato wrote: On Friday, 5 January 2024 at 22:10:31 UTC, pizza_dox_ wrote: [...] Did you try using dub and specifying

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread pizza_dox_9999 via D.gnu
On Sunday, 14 January 2024 at 11:54:09 UTC, Richard (Rikki) Andrew Cattermole wrote: On 15/01/2024 12:47 AM, pizza_dox_ wrote: OK to make it clear. I wanted to call d from c so that I can write a n64 game with d. But compiling the d object files while using higher features like classes,

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread Richard (Rikki) Andrew Cattermole via D.gnu
On 15/01/2024 1:23 AM, pizza_dox_ wrote: On Sunday, 14 January 2024 at 11:54:09 UTC, Richard (Rikki) Andrew Cattermole wrote: On 15/01/2024 12:47 AM, pizza_dox_ wrote: OK to make it clear. I wanted to call d from c so that I can write a n64 game with d. But compiling the d object

Re: Create a self contained object file like fat jars from java

2024-01-14 Thread pizza_dox_9999 via D.gnu
On Sunday, 14 January 2024 at 10:05:12 UTC, Richard (Rikki) Andrew Cattermole wrote: On 08/01/2024 7:14 AM, Renato wrote: On Friday, 5 January 2024 at 22:10:31 UTC, pizza_dox_ wrote: [...] Did you try using dub and specifying `targetType="staticLibrary"`? See