This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (gas -- compile time error) dwarf2dbg.c and long long


   Date: Thu, 15 Jul 1999 10:58:13 -0600
   From: Donn Terry <donn@interix.com>

   Since April, the file dwarf2dbg.c has been introduced, and appears
   to always be being built (altho not needed in my case).

   It contains a cast to (long long).  This causes it to fail the
   build on Interix, which is a pretty generic build of gas, but using
   the MS compiler, which doesn't understand long long.

   The obvious quick-and-dirty workarounds are already in place, but
   not knowing the goals of that change, I don't know what the right
   fix to it might be: turn off building the file, conditional
   compilation of the line (a %llx is also involved) or finding
   the right typedef to cast to instead of long long.  (I don't build
   in 64 bit mode, so the obvious ones aren't available.)

The (long long) occurs in a debugging print statement, so I checked in
the obvious quick and dirty patch to permit compilation to succeed.

Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]