On 09/11/2018 14:26, Michael Grunditz wrote:
> Hi
>
> I am trying to build Origyn Web Browser which uses webkit and SDL: It
> is all c++. I have problems with global variables and especially in
> the main client file. It crashes right on access and even more odd I
> need to malloc local class variables before I can give the,m objct
> values from the library.
>
> I must miss something ..
Make sure that any source files that are a part of the executable
are *not* compiled with -fPIC, otherwise it will crash when accessing
global variables.
Lee.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment