Re: have configure generate header dependencies automatically

This is a discussion on Re: have configure generate header dependencies automatically within the OpenSSH Development forums, part of the Networking and Network Related category; Carson Gaspar wrote: > Corinna Vinschen wrote: > ... >> I don't know if that's helpful, but there'...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2008
Darren Tucker
 
Posts: n/a
Default Re: have configure generate header dependencies automatically

Carson Gaspar wrote:
> Corinna Vinschen wrote:
> ...
>> I don't know if that's helpful, but there's also the gcc -MMD option to
>> create local dependencies per compilation unit. It's pretty easy to use
>> in Makefiles.

>
> And is entirely gcc-specific. For those of us who don't build with gcc,
> please don't. Or rather please make it optional if you do.


There has been much effort expended by many people to make OpenSSH build
with a variety of compilers (and on a variety of platforms) and I for
one would not like to see that change.

That said, I think something like that (or mkdep from OpenBSD as
mentioned in my original mail) would be OK as long as either the result
is checked into CVS (not done at build time) or is an optional extra.

The down side of this strategy is that the output of those types of
tools is usually dependent on the compiler flags passed to the tool.
Hence my "if all you have is a hammer, every problem looks like a nail"
solution using configure :-)

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0