GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2010-Jan-13

Title: Can't compile to Windows CE
Post by: MrTAToad on 2010-Jan-13
As mentioned by BasicMe, you currently can't compile to Windows CE, because you get the following :

Quote/cygdrive/S/Compiler/platform/WinCE/Lib/libGLBasic.a(glb-full.o)(.text+0xaea4):glb-full.cpp: undefined reference to `environ'
*** FATAL ERROR - Please post this output in the forum
Title: Re: Can't compile to Windows CE
Post by: Kitty Hello on 2010-Jan-14
It's when you use GETENV$(). I'll try to fix it.
Title: Re: Can't compile to Windows CE
Post by: Kitty Hello on 2010-Jan-14
great :/
I'll fix it ASAP. Very sorry.
So far insert this between any 2 functions.
Code (glbasic) Select

INLINE
}
const char** _environ;
namespace __GLBASIC__{
ENDINLINE