This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX gcc compiler memory management
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Ana Yuseepi <anayuseepi at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 17 Apr 2002 22:10:04 -0400
- Subject: Re: AIX gcc compiler memory management
>>>>> Ana Yuseepi writes:
Ana> I tried to follow your advice,
Ana> # gcc myfile.cpp -Wl,-bmaxdata:0x30000000 -o myexe -w -lpthread
If you are going to use threads, use -mthreads option (for
gcc-2.95) instead of manually linking with -lpthread. The options are
described in the GCC documentation.
Ana> #gcc -v
Ana> Reading specs from
Ana> /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/specs
Ana> gcc version 2.95.2 19991024(release)
Ana> executing my program, it gives me:
Ana> # ./myexe
Ana> Trace/BPT trap (core dump)
Guessing is not useful. You need to debug your application.
David