>>>>> "SY" == Shigio YAMAGUCHI writes:
 SY> Hello,
 >> You need to add to configure the ckeck for support of 64-bit offsets
 >> and if it exists, then add following flags to CFLAGS ->
 >> "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"

 SY> Thank you for information.  I wrote a FAQ. What do you think?

 SY> ---------------------------------------------------------------------
 SY> Q99:

 SY> I'm using GNU system.  In a large project, gtags fails in making tags
 SY> like follows:

 SY> $ gtags gtags: cannot write to database.  $ _

 SY> It seems that gtags cannot make a file over 2GB.

 SY> A99:

 SY> If your GNU system supports 64-bit file offset then please try the
 SY> following configuration.

 SY> $ ./configure CFLAGS='-D_LARGEFILE64_SOURCE
 SY> -D_FILE_OFFSET_BITS=64'
 SY> ---------------------------------------------------------------------

For me it seems ok

 SY> I have two questions.  o Is there a method of checking for support
 SY> 64-bit offset?  o Is the _LARGEFILE64_SOURCE requred for GLOBAL?

I'm not sure about global, but it definitely need for db-related code.

For autoconf check you can use for example following macro:

http://autoconf-archive.cryp.to/rssh_check_off64_t.html

 >> P.S. why are you using your own copy of libdb (old version) instead of
 >> system-wide? the same for the sys/queue.h header file

 SY> Because there are many libdbs, and they are not compatible each other.

ok

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/           http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to