NICK:
I totally understand your decision, and, in some and perhaps most ways,
I think it makes more sense than what I did, which is go from BUILD to
custom. Ironically, our reasons seem to the same: multimode,
multiplatform, et. c.
MM
(P. S. - I also wonder about the spam thing, as I seem to get a fair
amount of it all pertaining to what the sender feels is my strong urge
to buy from online pharmacies. Curious, and, as this a work e-mail
address, most undesirable and unappreciated. Due to the later, I
rejected the idea of having someone who knows more about networking than
I do check it out to verify the source.)
>> xxxxx@cristalink.com 2006-06-21 19:16 >>>
Martin,
>to build a paradigm target using BUILD and check out the log file for
the
>command lines
That’s what I did once and then used for several years until now. So I
know
what you mean.
Now I have multiple projects ranging from simple to very complex ones,
mixed
kernel and user mode, some projects go out to customers and some are
internal. Some are for x86, x64 and IA-64.
Given all the above, I have decided to bite the bullet and migrate to
that
bloody thing (BUILD). It has certain advantages once it’s set up and
does
what I want. Well, not quite what I want, but something I can probably
live
with.
P.S. I wonder why OSR wants my email address exposed in NTDEV? I am
pretty
sure it’s the reason I am getting more spam.
“Martin O’Brien” wrote in message
news:xxxxx@ntdev…
> NICK:
>
> A simpler (and some ways less error prone) way to get the switches
is
> to build a paradigm target using BUILD and check out the log file
for
> the command lines (still obfuscated with information that means
nothing
> to me, but much less of it than MAKEFILE.DEF (& the platform
specific
> ones).
>
> One of the first decisons I made once I finally got my first attempt
at
> a driver to build was not to use BUILD. I hate it. One of the
reasons,
> which I think relates to what you are talking about, is the weird CRT
&
> general link errors that result from using different settings and,
in
> some cases, different tools. With the arrival of managed versions
of
> assemblies for the VC runtime, I just finally gave up on dynamically
> linking to them, and used LIBCMT (I would have prefered LIBC, but it
is
> no more). The recurring problem that I had that was just a pain in
the
> balls was that nothing would ever run on my test machines unless
VC8.0
> runtimes were installed. This got old really quickly. I don’t know
the
> types of problems you are having with the CRT, but this single
change
> made my life a lot easier.
>
> I don’t know what you’re requirements are, but, based on my
experience
> and my needs (which involve some candian cross builds), I found it
much,
> much easier to write a system of makefiles (and a few batch files)
that
> did what I wanted than to even begin to consider learning and using
any
> other make system. I looked at the GNU autotools for about ten
minutes
> before my head began to hurt. It is not the greatest system, but,
as
> the work I do is almost entirely IR&D, they do what I need and I
don’t
> mind the significant constraints on directories, et. c., as I chose
> them.
>
> MM
>
>
>>>> xxxxx@cristalink.com 2006-06-21 17:25:51 >>>
> Regarding the switches…
>
> - Microsoft pushes BUILD as a tool to build both kernel and user
mode
> components.
> - The argument for kernel is that one gets a “consistent
environment”.
> - I need my own switches for user mode components. The situation is
> reverse - Microsoft is free to change the makefiles in the future,
> which
> makes my user mode settings very fragile.
> - I have to dig into the makefiles to get BUILD to produce the
switches
> I
> want. The documentation is useless - it’s simple impossible to
document
> all
> the mess such as one in makefile.new.
> - Even worse, some switches are hard-coded. For example, it’s
> impossible
> remove /Oy- or /IGNORE:.
> - DDK includes outdated user mode headers. Some of them are missing.
I
> need
> to include files from PSDK.
> - DDK 3790 includes buggy STL 6, while I need STL 7.
> - …and all that sort of rubbish.
>
>
>
> “Oliver” wrote in message news:xxxxx@ntdev…
>>> until, minimally, (1) Microsoft documents the compiler and linker
>>> switches required/recommended to build drivers (as well as stop
> using
>>> undocumented one); and (2) the preamble about only BUILD should be
> used
>>> to build drivers is removed the documentation. The history aside,
> it’s
>>> kind of ridiculous. On the other, it is free, used for other
> purposes,
>>> and there is not a lot of incentive for Microsoft to spend the
> resources
>>> to change it.
>> As far as I remember the flags as used by BUILD are all contained
in
>> some make files (myriads of them actually). Still undocumented, but
> a
>> way to learn about all this…
>>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer