This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Move GDB to C++ ?
Hi,
> > Pushing compile time through the roof and gobbling up several hundred
> > of megabytes of memory. Will it still be possible to compile a native
> > GDB on an underpowered ARM CPU with 64MB of memory?
>
> Yes.
Or no.
Gcc can be very memory hungry when compiling C++, a memory consumption
of 400MB is not unusual even for relatively short code snippets, thus it
can be a problem indeed. Probably this happens only when heavy template
programming is used, which may not be the case for gdb (except the use
of STL, which is a template library).
Anyway, some experiment should be made here.
Regards,
Alpar