Connecting Tech Pros Worldwide Forums | Help | Site Map

Compiling a C program through another C program

Ajinkya
Guest
 
Posts: n/a
: Sep 29 '07
As "spawnl" executes an exe through C code., similarly how can we
compile a C program through another C program (on Windows platform) ?


Joe Wright
Guest
 
Posts: n/a
#51: Oct 2 '07

re: Compiling a C program through another C program


Tor Rustad wrote:
Quote:
Joe Wright wrote:
Quote:
>Chris Hills wrote:
Quote:
>>In article <61c1g3dpga5sn3rotlds15rm6g1t9d9ij8@4ax.com>, "¬a\\/b"
>
Quote:
Quote:
>>>What is "CLI"?
>>>
>>AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
>>that is used in MS compilers that is nothing to do with ISOC++ but
>>they are fast tracking the C++/CLI standards through ECMA and then on
>>to ISO bypassing the usual ISO procedures for language standard as
>>ECMA have a fast trade route with ISO
>>
>"CLI" is Command Line Interface when I read it.
>
This is more like it:
>
http://www.research.att.com/~bs/bs_faq.html#CppCLI
>
Yes, it is. Sorry.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Chris Hills
Guest
 
Posts: n/a
#52: Oct 2 '07

re: Compiling a C program through another C program


In article <Gd2dncdUDtCX-5zanZ2dnUVZ_vHinZ2d@comcast.com>, Joe Wright
<joewwright@comcast.netwrites
Quote:
>Chris Hills wrote:
Quote:
>In article <61c1g3dpga5sn3rotlds15rm6g1t9d9ij8@4ax.com>, "¬a\\/b"
>><al@f.gwrites
Quote:
>>In data Sun, 30 Sep 2007 14:29:41 +0100, Chris Hills scrisse:
>>[comp.lang.c,alt.lang.asm]
>>>One of the leading..... I assume you mean MS. They in my view have
>>>subverted the standard process for C, C++. C#, C++/CLI Whether that is
>>>for good or ill remains to be seen.
>>>
>>What is "CLI"?
> AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
>>that is used in MS compilers that is nothing to do with ISOC++ but
>>they are fast tracking the C++/CLI standards through ECMA and then on
>>to ISO bypassing the usual ISO procedures for language standard as
>>ECMA have a fast trade route with ISO
>
>"CLI" is Command Line Interface when I read it.
>
Microsoft's CLI (Common Language Infrastructure).
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



CBFalconer
Guest
 
Posts: n/a
#53: Oct 3 '07

re: Compiling a C program through another C program


Chris Hills wrote:
Quote:
Joe Wright <joewwright@comcast.netwrites
Quote:
>Chris Hills wrote:
Quote:
>>"¬a\\/b" <al@f.gwrites
>>>
.... snip ...
Quote:
Quote:
Quote:
>>>>
>>>What is "CLI"?
>>>
>>AFAIK an MS thing. They have managed to create a "new" C++
>>C++/CLI that is used in MS compilers that is nothing to do with
>>ISOC++ but they are fast tracking the C++/CLI standards through
>>ECMA and then onto ISO bypassing the usual ISO procedures for
>>language standard as ECMA have a fast trade route with ISO
>>
>"CLI" is Command Line Interface when I read it.
>
Microsoft's CLI (Common Language Infrastructure).
In other words one more Microsoft effort to confuse the world and
spread FUD etc. Best ignored.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>



--
Posted via a free Usenet account from http://www.teranews.com

¬a\\/b
Guest
 
Posts: n/a
#54: Oct 3 '07

re: Compiling a C program through another C program


In data Mon, 1 Oct 2007 11:33:09 +0100, Chris Hills scrisse:
Quote:
>In article <61c1g3dpga5sn3rotlds15rm6g1t9d9ij8@4ax.com>, "¬a\\/b"
><al@f.gwrites
Quote:
>>In data Sun, 30 Sep 2007 14:29:41 +0100, Chris Hills scrisse:
>>[comp.lang.c,alt.lang.asm]
Quote:
>>>One of the leading..... I assume you mean MS. They in my view have
>>>subverted the standard process for C, C++. C#, C++/CLI Whether that is
>>>for good or ill remains to be seen.
>>
>>What is "CLI"?
>
>AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
>that is used in MS compilers that is nothing to do with ISOC++ but they
>are fast tracking the C++/CLI standards through ECMA and then on to ISO
>bypassing the usual ISO procedures for language standard as ECMA have a
>fast trade route with ISO
yes yes :)
because i'm reading a new software book i had confuse it with CIL
"Common Intermediate Language" that seems to be the language of an
emulator of a CPU that allow .NET to run in multi plataform
¬a\\/b
Guest
 
Posts: n/a
#55: Oct 3 '07

re: Compiling a C program through another C program


In data Wed, 03 Oct 2007 08:32:21 +0200, ¬a\/b scrisse:
Quote:
>In data Mon, 1 Oct 2007 11:33:09 +0100, Chris Hills scrisse:
>
Quote:
>>In article <61c1g3dpga5sn3rotlds15rm6g1t9d9ij8@4ax.com>, "¬a\\/b"
>><al@f.gwrites
Quote:
>>>In data Sun, 30 Sep 2007 14:29:41 +0100, Chris Hills scrisse:
>>>[comp.lang.c,alt.lang.asm]
>>>>One of the leading..... I assume you mean MS. They in my view have
>>>>subverted the standard process for C, C++. C#, C++/CLI Whether that is
>>>>for good or ill remains to be seen.
>>>
>>>What is "CLI"?
>>
>>AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
>>that is used in MS compilers that is nothing to do with ISOC++ but they
>>are fast tracking the C++/CLI standards through ECMA and then on to ISO
>>bypassing the usual ISO procedures for language standard as ECMA have a
>>fast trade route with ISO
>
>yes yes :)
>because i'm reading a new software book i had confuse it with CIL
>"Common Intermediate Language" that seems to be the language of an
>emulator of a CPU that allow .NET to run in multi plataform
possibly no one has seen that code?
Chris Hills
Guest
 
Posts: n/a
#56: Oct 3 '07

re: Compiling a C program through another C program


In article <4702BCAC.4970CE28@yahoo.com>, CBFalconer
<cbfalconer@yahoo.comwrites
Quote:
>Chris Hills wrote:
Quote:
>Joe Wright <joewwright@comcast.netwrites
Quote:
>>Chris Hills wrote:
>>>"¬a\\/b" <al@f.gwrites
>>>>
>... snip ...
Quote:
Quote:
>>>>>
>>>>What is "CLI"?
>>>>
>>>AFAIK an MS thing. They have managed to create a "new" C++
>>>C++/CLI that is used in MS compilers that is nothing to do with
>>>ISOC++ but they are fast tracking the C++/CLI standards through
>>>ECMA and then onto ISO bypassing the usual ISO procedures for
>>>language standard as ECMA have a fast trade route with ISO
>>>
>>"CLI" is Command Line Interface when I read it.
>>
>Microsoft's CLI (Common Language Infrastructure).
>
>In other words one more Microsoft effort to confuse the world and
>spread FUD etc. Best ignored.
Yes.... Unless you are working on an MS platform. However what with the
current flurry of activity with Microsoft and ECMA they are making MS
the standard :-(
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



Chris Dollin
Guest
 
Posts: n/a
#57: Oct 3 '07

re: Compiling a C program through another C program


Chris Hills wrote:
Quote:
Yes.... Unless you are working on an MS platform. However what with the
current flurry of activity with Microsoft and ECMA they are making MS
the standard :-(
(fx:atopical)

That "flurry" started with the standardisation effort for C++ and the CLI,
and unless I've lost my marbles has been going on for about seven years.

--
Chris "... (fx:small-voice) Ecmascript ..." Dollin

Hewlett-Packard Limited registered no:
registered office: Cain Road, Bracknell, Berks RG12 1HN 690597 England

Chris Hills
Guest
 
Posts: n/a
#58: Oct 3 '07

re: Compiling a C program through another C program


In article <fe08cm$i55$1@murdoch.hpl.hp.com>, Chris Dollin
<chris.dollin@hp.comwrites
Quote:
>Chris Hills wrote:
>
Quote:
>Yes.... Unless you are working on an MS platform. However what with the
>current flurry of activity with Microsoft and ECMA they are making MS
>the standard :-(
>
>(fx:atopical)
>
>That "flurry" started with the standardisation effort for C++ and the CLI,
>and unless I've lost my marbles has been going on for about seven years.
I would agree. Now I look back it has been a while. Time flies etc.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



Richard Bos
Guest
 
Posts: n/a
#59: Oct 8 '07

re: Compiling a C program through another C program


Chris Hills <chris@phaedsys.orgwrote:
Quote:
In article <fdmu0b$2el$1@aioe.org>, santosh <santosh.k83@gmail.com>
writes
Quote:
Sjouke Burry wrote:
Quote:
Jack Klein wrote:
>On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <chris@phaedsys.org>
>wrote in comp.lang.c:
>>
>>In article <1191063735.824051.42790@w3g2000hsg.googlegroups.c om>,
>>borophyll@gmail.com writes
>>>On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:
>>>>
>>>>>spawnl is not a standard C function
>>>>>and so is OT
>>>>No it's not.
>>>Yes it is
So, you want to flood the newsgroup with anything from windows(4
versions), 40 dialects of unix, 100 types of embedded systems, all Apple
types etc, etc... just as long as its done in c(c++) or a system call in
c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
Go look at sci.astro or alt.astronomy to get a taste of "Anything goes".
I think you are complaining to the wrong poster. As far as I can tell, it's
Chris Hills that wants to allow non-Standard discussions.
>
I just want discussions about C.
No, you want screaming tentacled masses of discussion about Windows,
ululating squamous rugosities full of discussion about Unix, and no
useful discussion about C. You may not realise it, but if you don't
believe me, look at any other newsgroup where "anything goes".

Richard
Chris Hills
Guest
 
Posts: n/a
#60: Oct 8 '07

re: Compiling a C program through another C program


In article <4709f963.1462517048@news.xs4all.nl>, Richard Bos
<rlb@hoekstra-uitgeverij.nlwrites
Quote:
>Chris Hills <chris@phaedsys.orgwrote:
>
Quote:
>In article <fdmu0b$2el$1@aioe.org>, santosh <santosh.k83@gmail.com>
>writes
Quote:
>Sjouke Burry wrote:
>
>Jack Klein wrote:
>>On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <chris@phaedsys.org>
>>wrote in comp.lang.c:
>>>
>>>In article <1191063735.824051.42790@w3g2000hsg.googlegroups.c om>,
>>>borophyll@gmail.com writes
>>>>On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:
>>>>>
>>>>>>spawnl is not a standard C function
>>>>>>and so is OT
>>>>>No it's not.
>>>>Yes it is
>So, you want to flood the newsgroup with anything from windows(4
>versions), 40 dialects of unix, 100 types of embedded systems, all Apple
>types etc, etc... just as long as its done in c(c++) or a system call in
>c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
>Go look at sci.astro or alt.astronomy to get a taste of "Anything goes".
>
>I think you are complaining to the wrong poster. As far as I can tell, it's
>Chris Hills that wants to allow non-Standard discussions.
>>
>I just want discussions about C.
>
>No, you want screaming tentacled masses of discussion about Windows,
>ululating squamous rugosities full of discussion about Unix,
Never asked for that.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



Richard Bos
Guest
 
Posts: n/a
#61: Oct 9 '07

re: Compiling a C program through another C program


Chris Hills <chris@phaedsys.orgwrote:
Quote:
In article <4709f963.1462517048@news.xs4all.nl>, Richard Bos
<rlb@hoekstra-uitgeverij.nlwrites
Quote:
Chris Hills <chris@phaedsys.orgwrote:
Quote:
In article <fdmu0b$2el$1@aioe.org>, santosh <santosh.k83@gmail.com>
writes
Sjouke Burry wrote:

Jack Klein wrote:
>On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <chris@phaedsys.org>
>wrote in comp.lang.c:
>>
>>In article <1191063735.824051.42790@w3g2000hsg.googlegroups.c om>,
>>borophyll@gmail.com writes
>>>On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:
>>>>
>>>>>spawnl is not a standard C function
>>>>>and so is OT
>>>>No it's not.
>>>Yes it is
So, you want to flood the newsgroup with anything from windows(4
versions), 40 dialects of unix, 100 types of embedded systems, all Apple
types etc, etc... just as long as its done in c(c++) or a system call in
c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
Go look at sci.astro or alt.astronomy to get a taste of "Anything goes".

I think you are complaining to the wrong poster. As far as I can tell, it's
Chris Hills that wants to allow non-Standard discussions.
>
I just want discussions about C.
No, you want screaming tentacled masses of discussion about Windows,
ululating squamous rugosities full of discussion about Unix,
>
Never asked for that.
Not explicitly, no. Just as political anarchists never actually _ask_ to
be herded into a labour camp by the guy with the biggest army, but
that's still what happens in countries which fall into anarchy.

Richard
Chris Hills
Guest
 
Posts: n/a
#62: Oct 9 '07

re: Compiling a C program through another C program


In article <470b2eab.1541705391@news.xs4all.nl>, Richard Bos
<rlb@hoekstra-uitgeverij.nlwrites
Quote:
>Chris Hills <chris@phaedsys.orgwrote:
>
Quote:
>In article <4709f963.1462517048@news.xs4all.nl>, Richard Bos
><rlb@hoekstra-uitgeverij.nlwrites
Quote:
>Chris Hills <chris@phaedsys.orgwrote:
>
>In article <fdmu0b$2el$1@aioe.org>, santosh <santosh.k83@gmail.com>
>writes
>Sjouke Burry wrote:
>
>Jack Klein wrote:
>>On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <chris@phaedsys.org>
>>wrote in comp.lang.c:
>>>
>>>In article <1191063735.824051.42790@w3g2000hsg.googlegroups.c om>,
>>>borophyll@gmail.com writes
>>>>On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:
>>>>>
>>>>>>spawnl is not a standard C function
>>>>>>and so is OT
>>>>>No it's not.
>>>>Yes it is
>So, you want to flood the newsgroup with anything from windows(4
>versions), 40 dialects of unix, 100 types of embedded systems,
>>all Apple
>types etc, etc... just as long as its done in c(c++) or a
>>call in
>c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
>Go look at sci.astro or alt.astronomy to get a taste of
>>"Anything goes".
>
>I think you are complaining to the wrong poster. As far as I can
>tell, it's
>Chris Hills that wants to allow non-Standard discussions.
>>
>I just want discussions about C.
>
>No, you want screaming tentacled masses of discussion about Windows,
>ululating squamous rugosities full of discussion about Unix,
>>
>Never asked for that.
>
>Not explicitly, no. Just as political anarchists never actually _ask_ to
>be herded into a labour camp by the guy with the biggest army, but
>that's still what happens in countries which fall into anarchy.
>
>Richard
I just wanted a slight relaxing to the shout of OT. What you have said
is something completely different.

If you look in another thread on "Fully-portable time delay of specified
length" I was the first to redirect the OP to a different NG. (He really
needs to write a delay routine using a HW timer)

However others are suggesting ways it can be done in different systems
as there is no sensible (or fully portable) way to do it in standard C.
the discussion is interesting and useful but every time the method
described starts to go deep into a non- standard method it is being
moved to the more appropriate NG.

The thread is short and has a very high signal to noise because there
are not pedants screaming OT at every post. Everyone is learning, happy
and polite.

I suggest that for one month. Say 10 October to 10 November the pedants
who usually say OT or "not standard C" every other line refrain from
doing that and let the moderates (or anarchists as you call them) do the
redirecting and OT posts.

If at the end of the month we are all drowning in noise and everyone is
unhappy they we will go back to the system the small group of pedants
have been trying to enforce.


--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



Keith Thompson
Guest
 
Posts: n/a
#63: Oct 9 '07

re: Compiling a C program through another C program


Chris Hills <chris@phaedsys.orgwrites:
[...]
Quote:
I suggest that for one month. Say 10 October to 10 November the
pedants who usually say OT or "not standard C" every other line
refrain from doing that and let the moderates (or anarchists as you
call them) do the redirecting and OT posts.
I suggest that for one month, those who habitually complain about
those of us who point out that things are off-topic stop complaining.
The signal-to-noise ratio would increase dramatically.

I also suggest that the trolls stop trolling and the spammers stop
spamming.

Of course, I don't actually expect this to happen.

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Closed Thread