|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I want to add some extension features to my program and this would
require that i bundle a small c compiler with my program. On Unix it seems that tiny-c can do this, but i don't know about windows. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
scholz.lothar@gmail.com wrote:
> I want to add some extension features to my program and this would > require that i bundle a small c compiler with my program. On Unix it > seems that tiny-c can do this, but i don't know about windows. lcc-win can be bundled with your application. You can contact me for prices and conditions. Mail address: jacob at jacob point remcomp point fr P.S. I do eiffel too :-) -- jacob navia jacob at jacob point remcomp point fr logiciels/informatique http://www.cs.virginia.edu/~lcc-win32 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
In article <dd900d6f-af49-478a-b9a4-d1c45b4af381@x19g2000prg.googlegroups.com>,
<scholz.lothar@gmail.com> wrote: >I want to add some extension features to my program and this would >require that i bundle a small c compiler with my program. Would it? Is there an external requirement that the extension language be C? If not, then you could make the extension language something comparatively simple to parse and build your own tiny compiler for it. -- "We worked every day, Sunday included, until at least ten o'clock at night. I remember it was an event when we quit work on Christmas night at eight o'clock to attend a family reunion." -- Walter Davidson (of Harley-Davidson) |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Mon, 26 May 2008 09:34:08 -0700, scholz.lothar wrote:
> I want to add some extension features to my program and this would > require that i bundle a small c compiler with my program. On Unix it > seems that tiny-c can do this, but i don't know about windows. I assume by tiny-c you mean tinycc. If so, it is also available for Windows. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On May 26, 7:34 pm, scholz.lot...@gmail.com wrote:
> I want to add some extension features to my program and this would > require that i bundle a small c compiler with my program. On Unix it > seems that tiny-c can do this, but i don't know about windows. May be to you enough use some scripting language such as `lua', which engine may be used at runtime from shared lib (about 400 KiB), available on many platform. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Walter Roberson wrote, On 26/05/08 18:48:
> In article <dd900d6f-af49-478a-b9a4-d1c45b4af381@x19g2000prg.googlegroups.com>, > <scholz.lothar@gmail.com> wrote: >> I want to add some extension features to my program and this would >> require that i bundle a small c compiler with my program. > > Would it? Is there an external requirement that the extension language > be C? If not, then you could make the extension language something > comparatively simple to parse and build your own tiny compiler for it. Or the OP could use one of the almost-C interpreters which are embeddable. I have come across at least a couple. -- Flash Gordon |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On 27 Mai, 02:29, gavenkoa <gaven...@gmail.com> wrote:
> On May 26, 7:34 pm, scholz.lot...@gmail.com wrote: > > > I want to add some extension features to my program and this would > > require that i bundle a small c compiler with my program. On Unix it > > seems that tiny-c can do this, but i don't know about windows. > > May be to you enough use some scripting language such as `lua', which > engine may be used at runtime from shared lib (about 400 KiB), > available on many platform. Thanks, i checked that tinycc is working on windows and can generate windows-dll's. Thats good. I'm already using lua for some more high level scripting but some parts are speed critical enough that they require the full power of compiled code and easy c string operations. I will check if tinycc works reliable for my use case otherwise i might check mingw or contact jacob. Or does anybody know about another small and free c compiler? |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On 27 Mai, 00:40, scholz.lot...@gmail.com wrote:
> On 27 Mai, 02:29, gavenkoa <gaven...@gmail.com> wrote: > > > On May 26, 7:34 pm, scholz.lot...@gmail.com wrote: > > > > I want to add some extension features to my program and this would > > > require that i bundle a small c compiler with my program. On Unix it > > > seems that tiny-c can do this, but i don't know about windows. > > > May be to you enough use some scripting language such as `lua', which > > engine may be used at runtime from shared lib (about 400 KiB), > > available on many platform. > > Thanks, i checked that tinycc is working on windows and can generate > windows-dll's. Thats good. I'm already using lua for some more high > level scripting but some parts are speed critical enough that they > require the full power of compiled code and easy c string operations. > > I will check if tinycc works reliable for my use case otherwise i > might > check mingw or contact jacob. Or does anybody know about another small > and free c compiler? MinGW is ok, but it has to be determined which files need to be added to the bundle. AFAIK MinGW needs more than one *.exe file. There are also such things as header files and libraries. Greetings Thomas Mertes Seed7 Homepage: http://seed7.sourceforge.net Seed7 - The extensible programming language: User defined statements and operators, abstract data types, templates without special syntax, OO with interfaces and multiple dispatch, statically typed, interpreted or compiled, portable, runs under linux/unix/windows. |
|
![]() |
| Outils de la discussion | |
|
|