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 |
|
Hi Koldo
I don't know what you're trying to achieve, but I can give you two simplyfiing tips
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
|
|
|
Goto Forum:
Current Time: Sat May 04 21:22:44 CEST 2024
Total time taken to generate the page: 0.02842 seconds
|