Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Linux compile fails
Re: Linux compile fails [message #1236 is a reply to message #1235] |
Fri, 24 February 2006 11:31   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
iplayfast wrote on Fri, 24 February 2006 05:01 |
luzr wrote on Fri, 24 February 2006 04:50 | Please, try to remove
-ffunction-sections
from the
CC = c++ -c -O2 -Os -ffunction-sections
line.
Mirek
P.S.: I am sorry for linux troubles - we are seeking for capable Linux maintainer/releaser for years now...
|
I've not seen -ffunction-sections before. What does it do?
As far as Linux I might be able to give you a hand. Let me get more familiar with your system first though. After I get this up and running I'm going to try to make a autoconf make system for it. (If nothing else it will refresh my skills).
|
Well, -ffunction-sections is a flag for compiler that puts each function into separate section. This makes dead-code removal possible for the linker.
However, it unfortunately turns out that "ld" does not do removal anyway, and some ld versions react with the error message you have encountered (meanwhile, our own MinGW ld replacement "uld" is able to use this).
I have already encountered the error in ubuntu a "-ffunction-sections" is now removed from TheIDE GCC builder in Linux, but it looks like it somehow survived in makefile generator...
When thinking about autoconf etc, please keep always keep in mind the "synthetic" nature of Makefile. OTOH, if something is needed to be added to Makefile generator, we will be happy to do so.
Also, the whole linux distribution structure is open to discussion. What we have now is what we were able to put together with our limited resources...
Mirek
|
|
|
 |
|
Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Fri, 24 February 2006 10:50
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Fri, 24 February 2006 11:31
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Fri, 24 February 2006 18:12
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Fri, 24 February 2006 19:07
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: zsolt on Fri, 24 February 2006 20:33
|
 |
|
Re: Linux compile fails
By: unodgs on Fri, 24 February 2006 21:31
|
 |
|
Re: Linux compile fails
By: zsolt on Fri, 24 February 2006 20:38
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Fri, 24 February 2006 21:48
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Fri, 24 February 2006 21:57
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: wilho on Mon, 13 March 2006 17:51
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: wilho on Mon, 13 March 2006 21:06
|
 |
|
Re: Linux compile fails
|
 |
|
Re: Linux compile fails
By: mirek on Mon, 13 March 2006 21:24
|
Goto Forum:
Current Time: Tue Aug 26 01:14:54 CEST 2025
Total time taken to generate the page: 0.01116 seconds
|