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++ Libraries and TheIDE: i18n, Unicode and Internationalization » umk to generate .o file
Re: umk to generate .o file [message #41869 is a reply to message #41868] Sun, 02 February 2014 00:02 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Koldo

I don't know what you're trying to achieve, but I can give you two simplyfiing tips Wink

1) You can skip the renaming if you use the name of the static lib instead instead of -l option. E.g.: instead of -lCore just write Core.a. If that doesn't work, you might need to add path...

2) Determining correct order in which the libs must be entered on the command line can be hard (or impossible, if there is cyclic dependency:) ). You can use startgroup/endgroup linker options to make gcc work with libs in any order:
gcc -Wl,--startgroup z.a Core.a Web.a -Wl,--endgroup


If all you need to do is to mix U++ and non-U++ code, I can recommend you to use the universal makefile to take care of the U++ part (unless you need it on Windows). It is capable of compiling separate files or packages...

Best regards,
Honza
 
Read Message
Read Message
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FileSel modification for translation
Next Topic: Fixed some Chinese translation in Core.t
Goto Forum:
  


Current Time: Sat May 04 21:22:44 CEST 2024

Total time taken to generate the page: 0.02842 seconds