mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sunifdef instead of unifdef
@ 2006-10-05 13:08 Dennis Heuer
  2006-10-05 13:47 ` Alexey Dobriyan
  2006-10-05 14:40 ` David Woodhouse
  0 siblings, 2 replies; 10+ messages in thread
From: Dennis Heuer @ 2006-10-05 13:08 UTC (permalink / raw)
  To: linux-kernel

Hello

unifdef is not only very old and unmaintained, the binary does not work
and the source does not compile on a pure x86_64 system. There is
another tool that worked for me--though it 'closed with remarks'--and
that was updated recently (several times this year). It is called
sunifdef, is under an equal (new) BSD license, and is proposed to be
the successor of unifdef. See the project page:

http://www.sunifdef.strudl.org/

Regards,
Dennis

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: sunifdef instead of unifdef
@ 2006-10-05 16:38 Dennis Heuer
  2006-10-05 19:26 ` Sam Ravnborg
  0 siblings, 1 reply; 10+ messages in thread
From: Dennis Heuer @ 2006-10-05 16:38 UTC (permalink / raw)
  To: linux-kernel

Ok, I may have been too hasty in calling it dead. However, I don't know
where you got it from but I just did a google and found nothing
original. Only deps, rpms, and so forth. I started a search at
Freshmeats and found it besides sunifdef. The freshmeat entry was from
2000 and the last noted update was from 2001. There was no link to a
homepage but just a link to one specific release (Possibly there are
newer ones already.)

And, 10 times bigger is not an argument neither for nor against a
tool. I'd rather like to see unifdef slip from my harddisk in full. Now,
you decided to use this tool. Ok! So what about some more global
perspective. Shouldn't it be useful for others too, then (So that it's
not only on disk for your project.) I at least pledge for sunifdef
compatibility, which should be possible because I already installed the
headers with it (though it produced some 'remarks', there doesn't seem
to be a difference between this installation and a previous one on my
old system--except that in the latter case I lost all other files
in /usr/include because there was no hint blinking anywhere that 'make
headers_install' would not just copy to but overwrite the include
directory. Playing with INSTALL_HDR_PATH, thus, is quite dangerous!)

However, there are three main reasons why I pledge for sunifdef
compatibility:

1. There is a project page and an inviting community
2. There is HTML documentation
3. They use autotools, which is distributor and administrator-friendly
(just works like the rest, and installation can be automated together
with other packages in one rush and with one simple script that uses
one strategy--very nice that is!)

Now to unifdef. Got it working. An old .o file caused the problem.
Still there is an error output:

gcc -O2 -m64   -c -o unifdef.o unifdef.c
unifdef.c: In function 'main':
unifdef.c:129: warning: incompatible implicit declaration of built-in
function 'exit'
unifdef.c:157: warning: incompatible implicit declaration of built-in
function 'exit'
unifdef.c:180: warning: incompatible implicit declaration of built-in
function 'exit'
gcc unifdef.o -o unifdef

Regards,
Dennis

Ps: am off the list now.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-10-09  1:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-05 13:08 sunifdef instead of unifdef Dennis Heuer
2006-10-05 13:47 ` Alexey Dobriyan
2006-10-05 14:40 ` David Woodhouse
2006-10-05 16:05   ` Tony Finch
2006-10-05 16:07     ` David Woodhouse
2006-10-05 16:12     ` Sam Ravnborg
2006-10-09  1:58     ` Valdis.Kletnieks
2006-10-05 16:38 Dennis Heuer
2006-10-05 19:26 ` Sam Ravnborg
2006-10-05 20:37   ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®