Monica, I normally use the following flags (C and CXX ) when I build itk on 64 bit machines, my machine is running ubuntu hardy gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) -fPIC -m64 I have never seen the error you are reporting. HTH Leila On Mon, 2008-10-27 at 20:05 +0100, Monica Hernandez wrote: > Dear ITK users, > > I am trying to perform 64 bits ITK compilation in my cluster machine. > However, when I try to run an application that requires about 4 Gbs > of RAM it provides an std::bad_alloc error so I'm afraid I did something > wrong with the 64 bits compilation. > The gcc version installed on my cluster machine is the following > > gcc --version > gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) > Copyright (C) 2006 Free Software Foundation, Inc. > > If you need more information, just tell me. > > Could anyone help me to find what is wrong? > > Best, > > Monica. > > P.S. By the way, I successfully executed that application when compiling > in my 64 bits office machine > gcc --version gcc (SUSE Linux) 4.3.1 20080507 (prerelease) > Copyright (C) 2008 Free Software Foundation, Inc. > > > > > _______________________________________________ > Insight-users mailing list > Insight-users@itk.org > http://www.itk.org/mailman/listinfo/insight-users