Confusing undefined function which I know is defined

JonY 10walls@gmail.com
Wed Nov 13 22:19:00 GMT 2013


On 11/13/2013 04:04, awsdert wrote:
> Found part of the issue, I tried disabling the -ansi option and that got me
> further, will investigate that issue later but for now I can at least
> compile the dll.
> 
> 

-c means compile, -shared is for linking. Build sequence typically goes:

gcc -c ... file1.c
gcc -c ... file2.c
...
gcc -shared ... file1.o file2.o ...

Notice -c and -shared are not used together.

PS, Please quote your messages context properly instead of deleting
everything, it is annoying to read your messages.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20131113/7935e7e7/attachment-0001.sig>


More information about the Gcc-help mailing list