This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]