Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Still seeking working mingw

Date2005-07-02 19:17
FromMichael Gogins
SubjectRe: [Cs-dev] Still seeking working mingw
There are MinGW linker options that (usually) take care of this. The problem arises because Windows DLLs can export symbols with or without the @ sign (which denotes Pascal calling convention, I suspect, or fastcall, or something). If you look at the linker options passed for building CsoundVST, you may find these options employed as you would need them -- but I'm not at home right now and don't recall exactly. The basic idea is that you can tell ld, gcc, or g++ to try to link to a function you specify with @ even if the export lacks @, and vice versa.

In any event, the texinfo documentation for MinGW does explain them.

Regards,
Mike

-----Original Message-----
From: jpff@codemist.co.uk
Sent: Jul 2, 2005 12:58 PM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Still seeking working mingw

I think it is time for someone else to try this.  I have found a DLL
which the compiler does not reject but i am still stuck on undefined
references.  There seem to be in two groups.

1: related to 64bit ints I have many references to htonl@4
2: Winsock related, with WSAStartup@8, WSALastrError@0 and sendto@24

The @4/@8 etc looks like the size of the arguments, but they are not
named in the DLL like that.

This is the liblo sources with windows bits.  Perhaps it requires
gcc4?  Strange that it gives no syntax errors.

==John ffitch


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net