This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Doxygen
- From: Pavel Tsekov <ptsekov at gmx dot net>
- To: Ryunosuke Satoh <sun594 at hotmail dot com>
- Cc: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Fri, 4 Oct 2002 19:08:39 +0200 (CEST)
- Subject: Re: Doxygen
On Sat, 5 Oct 2002, Ryunosuke Satoh wrote:
> > I've just verified that. Can you please give a short summary of the
> > changes between this package and the previous one ?
>
> First, updated the version, 1.2.17 ----> 1.2.18.
Ok.
> > From what I can see the issues from
> > described in http://www.cygwin.com/ml/cygwin-apps/2002-09/msg00106.html
> > are not fixed. I.e. the usage of -D_WIN32 along with -D__CYGWIN__. This
> > issue is important - are you sure that this is the right way to build
> > doxygen for Cygwin ?
> >
> > Also, have you tried to build against the Cygwin libpng package ?
> >
>
> This defines are essential.
> Compiling Doxygen on cygwin requires -D_WIN32.
> But some sources (file access,etc...) requires -D__CYGWIN__.
> Cygwin is not WIN32 and not UNIX, so __CYGWIN__ is essential.
>
> Examle:
> Win32 version use "gswin32c.exe". (hard coded in source...)
> But cygwin version use "gs" of the tetex package.
I don't understand what do you want to show with that exmaple ? Please,
give more details. _WIN32 is not defined on Cygwin, so "gswin32c.exe"
should not be picked up if everything is set up correctly. See below the
output of gcc -v on Cygwin:
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cpp0.exe -lang-c -v -D__GNUC__=2
-D__GNUC_MINOR__=95 -D_X86_=1 -D_X86_=1 -Asystem(winnt) -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686
-D__i686__ -D__pentiumpro -D__pentiumpro__
-D__stdcall=__attribute__((__stdcall__))
-D__cdecl=__attribute__((__cdecl__))
-D_stdcall=__attribute__((__stdcall__))
-D_cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x))
-D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -isystem
/usr/local/include -idirafter /usr/include -idirafter /usr/include/w32api
sizeof.c /tmp/ccBFlJvZ.i
Please, explain which features are available only if _WIN32 is defined ?
Cygwin is a POSIX emulation layer - so what compiles on POSIX compliant Unix
system should compile on Cygwin too (most of the time :) ).
> doxygen contains these library.
> 1,libpng
> 2,qt library
> 3, ....xml library ? I don't know !
> These are customized, "doxygen version".
> So, I cannot exclude.
> I think Doxygen cannnot be compiled without these customized libraries.
I'm not convinced about the libpng issue , but anyway this is not a
showstopper IMO.
> > The setup.hint file lists bison and flex as required packages. Is this
> > really so ?
>
> If you use binaries only, not required.
> Doxygen requires these when compile doxygen.
> No need?
Yes - only runtime dependencies.
> http://www.geocities.co.jp/SiliconValley-SanJose/5153/cygwin-package/doxygen-1.2.18-1-package.tgz
> CHANGES:
> garbage files excluded.
> setup.hint
I'll wait for your answer on the compilation details before reviewing
that.