I come from a windows w/ visual-studio background for native development and I am now going to compile native code for use on android.
I am not sure how the unix-like ...
hi.. i am creating a .dll file from an object file using gcc... i want to create a shared library... i want to use the dll to implement a new functionality.. but when i compile the file for creating the dll i get the following errors.. Cannot export .idata$4: symbol not found Cannot export .idata$5: symbol not found Cannot export .idata$6: ...
hi.. i am creating a .dll file from an object file using gcc... i want to create a shared library... i want to use the dll to implement a new functionality.. but when i compile the file for creating the dll i get the following errors.. Cannot export .idata$4: symbol not found Cannot export .idata$5: symbol not found Cannot export .idata$6: ...
The first step is gcc -c prog.c This just compiles the file to produce prog.o If you need other command line options to make the .o file suitable for a particular kind of library, then add those to the command line, but the -c option is key to stopping the linker from running, and complaining about the lack of main()