PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.c > Very Small C Compiler which can generate DLL files?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Very Small C Compiler which can generate DLL files?

Réponse
 
LinkBack Outils de la discussion
Vieux 26/05/2008, 17h34   #1
scholz.lothar@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Very Small C Compiler which can generate DLL files?

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.
  Réponse avec citation
Vieux 26/05/2008, 18h29   #2
jacob navia
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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
  Réponse avec citation
Vieux 26/05/2008, 18h48   #3
Walter Roberson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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)
  Réponse avec citation
Vieux 26/05/2008, 18h59   #4
Harald van Dijk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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.
  Réponse avec citation
Vieux 26/05/2008, 20h29   #5
gavenkoa
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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.
  Réponse avec citation
Vieux 26/05/2008, 22h21   #6
Flash Gordon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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
  Réponse avec citation
Vieux 26/05/2008, 23h40   #7
scholz.lothar@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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?

  Réponse avec citation
Vieux 27/05/2008, 10h25   #8
thomas.mertes@gmx.at
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Very Small C Compiler which can generate DLL files?

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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13914 seconds with 16 queries