public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ld dwarf errors
@ 2002-11-19 10:27 Shiva Shankar Chetan
  2002-11-19 18:21 ` Bitset problem Siyan Li
  0 siblings, 1 reply; 2+ messages in thread
From: Shiva Shankar Chetan @ 2002-11-19 10:27 UTC (permalink / raw)
  To: gcc-help

Hi,

Can anyone please tell me what dwarf errors are in 'ld' ? in particular i am
getting errors of the following form

/usr/bin/ld: Dwarf Error: Could not find abbrev number 110

any solutions to fix the problem ?

thanks

Chetan

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

* Bitset problem
  2002-11-19 10:27 ld dwarf errors Shiva Shankar Chetan
@ 2002-11-19 18:21 ` Siyan Li
  0 siblings, 0 replies; 2+ messages in thread
From: Siyan Li @ 2002-11-19 18:21 UTC (permalink / raw)
  To: gcc-help

Hi,
I am fairly new to the list. If you think that I am saying something
stupid, please do correct me.
  I am trying to use stl bitset with gcc. However, I found that the
.to_string() method is not implemented.

  Here is the code I was trying to run,

#include <fstream>
#include <bitset>
int main(){
   ofstream out;
   out.open("bittry.txt");
   int i = 97;
   bitset<12> set1(i);
   out << set1.to_string();
   out.close();
   return 1;
}

  What I need to do is to try to output one bit at a time to a file... I
am trying to make a binary file(for example, "011" will be outputted as
bits "011", not string "011" to a file).
  Please let me know if it is a but of Gcc and if it is, is there
anyways to get around it?

Thanks,
-- 
--
Yan
...
KeyServer: pgp.mit.edu; Index ID: s8li
Key fingerprint = 41B8 FD05 6598 A34A D564  EA73 F1DA 32F2 9EC2 DB0B
Dream as if you'll live forever; 
Live as if you'll die tomorrow.

-------------------------------------------------------------------------------

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

end of thread, other threads:[~2002-11-20  2:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-19 10:27 ld dwarf errors Shiva Shankar Chetan
2002-11-19 18:21 ` Bitset problem Siyan Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).