On Fri, 16 Jun 2000, Mo DeJong wrote: > On Fri, 16 Jun 2000, Thomas E. Dickey wrote: > > Because earlier in the test ac_cv_prog_cc_g_bigger is set to the > length of the output of od. so you aren't planning to use this on machines whose shell breaks for variables longer than 4k (or 1k ;-). > > Better to simply run a test program that uses only stdio.h (checking if > > opening the object file in binary mode works ;-) > > That might not be a bad idea. I don't like to depend on od just > to get the size of a file. Am I just missing something? Is there > an easy way to figure out the size of a binary file in bytes? > > `ls` or `ls -S` is not going to cut it. I'd write a simple program and use it to measure the size with/without debug option by counting bytes (even a 'stat()' call can return misleading size) -- T.E.Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
- Re: [gnu.utils.bug] AC_PROG_CC... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Assar Westerlund
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Paul Eggert
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Paul Eggert
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Akim Demaille
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas E. Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Peter Eisentraut
- Re: [gnu.utils.bug] AC_PROG_CC... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, ... Assar Westerlund
- Re: [gnu.utils.bug] AC_PROG_CC... Akim Demaille
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas E. Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very ro... Steven G. Johnson
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not ve... Akim Demaille