This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: malloc, new with cross-compiler gcc 2.95.3 on ARM9
- From: Ian Lance Taylor <iant at google dot com>
- To: <ps at softinengines dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: 14 Sep 2007 08:18:21 -0700
- Subject: Re: malloc, new with cross-compiler gcc 2.95.3 on ARM9
- References: <20070913085936.2D7721973AD@debian.softinengines.com>
"Peter Skvarka" <ps@softinengines.com> writes:
> I 'd like to have malloc and new which returns NULL if lack of memory on
> embedded system Linux kernel 2.4.19-rmk7.
You have to fix this in your library or your operating system, not in
your compiler.
Ian