Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Linking problem
Re: Linking problem [message #31390 is a reply to message #31387] |
Sun, 27 February 2011 12:57 |
|
mirek wrote on Sun, 27 February 2011 09:42 | I am a little bit confused - what project is this? Looks like ide, but what is rdppm.o?
And what exactly CLANG means?
|
Yes, it is the linking of ide. File rdppm.o comes from plugin/jpeg/lib/rdppm.c, but I have no idea how it got in the linking command line... It should have been inside jpg.a :-/
Sorry for the CLANG, it's a build method using clang as compiler. It shouldn't really matter as it uses GCCBuilder in the very same way as gcc. What could matter is that I compared debug and optimal build in the last post... So to be sure I tried again, this time with equal settings and to my great surprise, now both linking commands look the same (apart from file types) as on natty. I wonder why is there different ordering for debug builds, does it have some important reason?
Anyway, it still holds that putting the libraries (-lxyz) after archives (xyz.a) fixes the problem...
About the --(no-)whole-archive option: It might solve the issue as well, but it could also introduce some overhead by linking unnecessary objects... I'm not 100% sure, but we sure can try that too
Honza
-
Attachment: arch
(Size: 5.14KB, Downloaded 411 times)
-
Attachment: natty
(Size: 4.88KB, Downloaded 461 times)
|
|
|
|
|
Linking problem
By: busiek on Sun, 20 February 2011 15:15
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: mirek on Mon, 21 February 2011 09:45
|
|
|
Re: Linking problem
By: unknown user on Mon, 21 February 2011 11:15
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: mirek on Tue, 22 February 2011 10:06
|
|
|
Re: Linking problem
By: unknown user on Tue, 22 February 2011 10:24
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: mirek on Sun, 27 February 2011 09:42
|
|
|
Re: Linking problem
By: unknown user on Sun, 27 February 2011 12:37
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: chickenk on Sun, 27 February 2011 13:20
|
|
|
Re: Linking problem
By: mirek on Fri, 04 March 2011 09:59
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: busiek on Mon, 14 March 2011 17:30
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: busiek on Tue, 15 March 2011 10:08
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: busiek on Tue, 15 March 2011 14:08
|
|
|
Re: Linking problem
By: chickenk on Tue, 15 March 2011 15:25
|
|
|
Re: Linking problem
By: busiek on Tue, 15 March 2011 16:55
|
|
|
Re: Linking problem
By: chickenk on Sun, 27 February 2011 10:46
|
|
|
Re: Linking problem
By: trader on Sat, 12 March 2011 19:42
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: trader on Wed, 16 March 2011 22:28
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
|
|
|
Re: Linking problem
By: luluxiu on Fri, 01 July 2011 03:41
|
Goto Forum:
Current Time: Wed May 01 07:02:22 CEST 2024
Total time taken to generate the page: 0.03288 seconds
|