Mark, single source is not the issue. The issue is the dependency on
specific tools, the reasons for it. Why ? Give me a good reason to be
depending on one specific compiler, linker, builder ? Why is it that a build
environment must be “supported” ? A system’s runtime should be independent
of the tools used at build time. And the interfaces and calling sequences
are either well documented and well defined, or they’re not.
In my mind, what’s a rat-hole is to rely on a single build front end to cure
back-end sloppiness.
We do have an ANSI standard for the C language, so, compiler compatibility
issues should boil down to call sequences and that kind of lower level
stuff. Define them well, and compiler dependencies disappear. And here,
again, I have a beef if I cannot get a driver working when I turn on the
ANSI compatibility switch and frig out anything that’s not bog standard C.
Otherwise it’s a mess, eh ? You guys talk so much about quality, yet you
forget the most basic cornerstones of safe coding.
Alberto.
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Tuesday, June 04, 2002 2:40 PM
To: NT Developers Interest List
Subject: [ntdev] Re: __asm Syntax
Oddly enough I disagree entirely with the latest opinion from Alberto :-).
There is no risk here in a single source for the tools, as we are talking
about a single-sourced operating system, the vendor of which explicitly
requires that kernel components be built using the specified tools, also
provided by the same vendor. I simply am having a hard time imagining the
scenario where NT continues as a product but the compilation tools do not,
or the vendor refuses to address issues in the compilation tools that affect
the successful production of OS components. Perhaps the closest to risk here
would have been a breakup of microsoft that left the compiler tools in
msapps rather than in msos. Mr Little’s observation that going down the
rat-hole of unsupported build environments seems like a complete waste of
time and money is right on target.
-----Original Message-----
From: Moreira, Alberto [mailto:xxxxx@compuware.com]
Sent: Tuesday, June 04, 2002 1:09 PM
To: NT Developers Interest List
Subject: [ntdev] Re: __asm Syntax
Competition is healthy ! I personally believe if one depends
on the tools to be able to make a piece of software, that
alone tells me that the development environment may be
unsound. A kernel-side production component should NOT depend
on particular compiler, linker or builder quirks. And I don’t
see why I should believe in the hands of a Microsoft compiler
any more than I should trust the guys that do GNU, WatCom or
Borland. I also believe that if the OS maintains a well-known
and well-document set of APIs, a healthy driver should build
basically with any compiler and with any linker. If it
doesn’t, the problem isn’t the driver or the compiler or the
linker, the problem is the dependency on a single compiler,
and THAT is what should be weeded out. So, if I cannot build
a healthy driver with the GNU compiler, and I need the DDK
compiler because the DDK takes advantage of some compiler
quirk, that’s a DDK problem that should be addressed and
fixed by Microsoft.
Actually, I know that’s utopia given the on-going amoeba
mentality, but my personal take is, I am reluctant in
releasing any piece of software that I cannot build with at
least two different compilers and build environments.
Depending on a single set of tools gives me the jitters.
Alberto.
-----Original Message-----
From: Gary G. Little [mailto:xxxxx@broadstor.com]
Sent: Tuesday, June 04, 2002 12:45 PM
To: NT Developers Interest List
Subject: [ntdev] Re: __asm Syntax
No one said you can’t. However, it is not recommended. And if
you do, then basically you are on your own. The recommended
method for building a driver is using the DDK with a
Microsoft compiler, usually at least Professional. XP drivers
are best compiled with the compiler(s) that accompany the XP DDK.
I guess the point is you can spend your time writing drivers
or trying to get your development system (GNU, WatCom,
Borland) to build a driver that might load. Personally, I
prefer eliminating headaches that are not needed…
–
Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net
“KJK::Hyperion” wrote in message news:xxxxx@ntdev…
> >
> > At 20.20 03/06/2002, you wrote:
> > > > yup! i am using GNU C compiler and the context
> > > > is that of GNU __asm syntax.
> > >Are you using GNU C compiler for writing NT drivers?!
> >
> > Why not? You can even write NT itself with GNU C:
> >
> > http:</http:>
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@compuware.com To unsubscribe send a blank
> email to %%email.unsub%%
>
>
>
> The contents of this e-mail are intended for the named
> addressee only. It contains information that may be
> confidential. Unless you are the named addressee or an
> authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify
> us immediately and then destroy it.
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@stratus.com To unsubscribe send a blank email to
> %%email.unsub%%
>
—
You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to %%email.unsub%%
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.