From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,98bc0cbbeb023d68,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,98bc0cbbeb023d68,start X-Google-Attributes: gidfee84,public X-Google-Thread: fcda7,98bc0cbbeb023d68,start X-Google-Attributes: gidfcda7,public From: ijalab@hotmail.com Subject: ld error: virtual memory problem ?! Date: 1999/03/15 Message-ID: <7ck4hk$ogo$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 455390113 X-Http-Proxy: 1.0 MA-ATL05, 1.0 maverick.manhattanassociates.com:3128 (Squid/1.2.beta22), 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client unknown, 208.192.214.11 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Mar 15 23:19:26 1999 GMT Newsgroups: comp.unix.osf.osf1,comp.sys.hp.hpux,comp.sys.dec X-Http-User-Agent: Mozilla/4.51 [en] (WinNT; I) We are getting this error when we link our executable : "ld: out of memory". This happened on HP, and we fixed it by the command line switch to ld : '-T' , according to this switch, this option reduces the virtual memory requirements of the linker. If the TMPDIR environment variable is set, the temporary files are created in the specified directory, rather than in /var/tmp. Now I am experiencing the same problem on DEC OSF/1 but the ld command here does not seem to have such a switch. I am using cxx (c++ compiler). Can anyone suggest a solutiuon short of increassing swap space, ulimit etc ? We tried that also but to no effect. Thanks a lot. - Balaji -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own