Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
just to let you know: i'm reinstalling workstation (SuSE->ubuntu). First bad surprise: kubuntu comes with no compiler or even /usr/include preinstalled... second bad surprise, default version of GCC is GCC 4 ...
and my main concern with GCC 4.x is that it appears to generate code that uses "memset" or "memcpy" regardless of locally-defined inline functions ... As a result my good old "memops.h" are no longer protecting me from "missing 'memset' in .thread.o ..." error messages ...
The code i write that triggers such code generation is structure initialization, e.g.
Pype.Clicker wrote:
just to let you know: i'm reinstalling workstation (SuSE->ubuntu). First bad surprise: kubuntu comes with no compiler or even /usr/include preinstalled... second bad surprise, default version of GCC is GCC 4 ...
Did you compile a cross-compiler? If not, why not try if that works better?
You can try compile options to GCC 4 that'll make it freestanding or such, which would help with this I think.
well, i have indeed 'apt-get'd gcc-3 (and i'll probably apt-get 2.95.3 aswell since it's in the apt-cache aswell ...
Building a cross-compiler is on my todo list (and well, i quite know it's in the FAQ, thanks Solar for that ... however i'm rather trying to integrate support about those 'specificities' into the build system rather than requiring people to build a proper GCC first and then only building clicker ...
If you wish to compile Clicker under cygwin, that's just fine. SET OSTYPE=cygwin should be all you'll have to do: i have support for both ELF and COFF included