Forums | Forums |





I am probably missing something obvious. I've read the building primer. But it doesn't help, as it doesn't list the brew libraries available. I think all I need is to include a -Lxxx flag, where xxx is the name of the brew standard library. But where is it?


For example: when I am to build c_service_testapp (mod1), and it seems that all symbols from ( are missing:



gcc"  -Wl,-rpath=\$ORIGIN -m32 -shared -Wl,-soname=c_service_testapp.dll -Wl,--no-undefined -o mingw_Release/c_service_testapp.dll mingw_Release/AEEModGen.o mingw_Release/AEEAppGen.o mingw_Release/c_service_testapp.o mingw_Release/SimpleIOEchoTest.o

mingw_Release/SimpleIOEchoTest.o:SimpleIOEchoTest.c:(.text+0xe1): undefined reference to `atomic_Add'

mingw_Release/SimpleIOEchoTest.o:SimpleIOEchoTest.c:(.text+0x148): undefined reference to `atomic_Add'

mingw_Release/SimpleIOEchoTest.o:SimpleIOEchoTest.c:(.text+0x2b7): undefined reference to `std_memset'

mingw_Release/SimpleIOEchoTest.o:SimpleIOEchoTest.c:(.text+0x2ce): undefined reference to `std_memcmp' collect2: ld returned 1 exit status

cs-make: *** [mingw_Release/c_service_testapp.dll] Error 1



Any idea?

StdLib lib is under: %BREWMP_PLATFORM%\platform\system\lib\

StdLib lib is under: %BREWMP_PLATFORM%\platform\system\lib\