Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile

Honza

  • Attachment: arch
    (Size: 5.14KB, Downloaded 411 times)
  • Attachment: natty
    (Size: 4.88KB, Downloaded 461 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weired appearance of GUI elements
Next Topic: Drag and Drop between instances [FEATURE REQUEST]
Goto Forum:
  


Current Time: Wed May 01 07:02:22 CEST 2024

Total time taken to generate the page: 0.03288 seconds