• No replies
4 Posts

Pinned topic linking a large file on aix

‏2013-09-03T09:54:41Z | aix6.1 link xlc
I am using aix 6.1 machines  
xlC Version: 11.01.0000.0011  
I have a share file (so) whose size is 2.1 GB. how can i link this file?  
Let say name of file is present in /path1/  
I tried using   
    xlC -brtl -L/path1 -lab-g     
    ld: 0706-006 Cannot find or open library file: -l ab-g
    ld:open(): A file or directory in the path name does not exist.
and if i try directly 
    xlC -brtl /path1/ then it says:
    ld: 0706-005 Cannot find or open file: /path1/
    ld:open(): Value too large to be stored in data type.
Do i need to add any other command line option?  
I tried using -brtl but result is same.
My guess is problem is because of size, is because if i build optimized version of this file whose size is around 600 MB then it works fine.