Re: Confusing undefined function which I know is defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux