"C++"의 두 판 사이의 차이

ph
이동: 둘러보기, 검색
(새 문서: * [http://www.sgi.com/tech/stl/ STL. (sgi)])
 
1번째 줄: 1번째 줄:
 
* [http://www.sgi.com/tech/stl/ STL. (sgi)]
 
* [http://www.sgi.com/tech/stl/ STL. (sgi)]
 +
 +
=={{c|--start-group, --end-group}}==
 +
Thus the order libA libB (where libB depends on libA) will trigger the error, but libB libA will be ok. If both libraries have mutual dependencies, then either use libA libB libA or use --start-group and --end-group linker flags, where the linker will go round and round the group of files until all unresolved symbols have been found.
 +
http://stackoverflow.com/a/35927747/766330

2017년 4월 17일 (월) 23:32 판

--start-group, --end-group

Thus the order libA libB (where libB depends on libA) will trigger the error, but libB libA will be ok. If both libraries have mutual dependencies, then either use libA libB libA or use --start-group and --end-group linker flags, where the linker will go round and round the group of files until all unresolved symbols have been found. http://stackoverflow.com/a/35927747/766330