Need Help Creating A Purelibrary With GCC
Posted: Tue Jun 08, 2004 8:58 am
I'm trying to create a purelibrary using GCC, but the LibraryMaker tool is giving me an error. I am using the GCC provided with Dec-CPP - versions. gcc version 3.2 (mingw special 20020817-1).
I have compied Test.desc and Test.c into a new directory and compiled to an .obj with the following batch file:
I then move the Test file to purebasic\PureLibraries\UserLibraries and start jaPBe.
Now jaPBe recognises the new command StringMultiply as a type, but when I try to compile I get the error:
I have compied Test.desc and Test.c into a new directory and compiled to an .obj with the following batch file:
This creates the file Test.Del Test.obj Test
..\..\..\..\Dev-Cpp\bin\gcc.exe -c test.c -o test.obj
..\..\LibraryMaker.exe LccWin32\Test_With_gcc\Test.Desc /TO LccWin32\Test_With_gcc\
I then move the Test file to purebasic\PureLibraries\UserLibraries and start jaPBe.
Now jaPBe recognises the new command StringMultiply as a type, but when I try to compile I get the error:
Am I doing anything wrong. Is it possible to create purelibraries with gcc?StringMultiply() is not a function, an array, or a linked list.