[Speex-dev] Static linking without C runtime dependence?
Jean-Marc Valin
Jean-Marc.Valin at USherbrooke.ca
Sun Oct 16 18:02:10 PDT 2005
Hi,
What you want is simply to override some of the functions in misc.c. I
made it easy to do by wrapping malloc() a speex_alloc() call. Aside from
what's in misc.c, the only other thing I use are some of the math
functions like cos().
Jean-Marc
> I have built and tested the v1.1.10 _DLL_, but I would prefer to statically
> link a Speex .OBJ to my application. The trouble with doing that is that I
> am writing the application in Assembler (my preferred implementation
> language), so I don't have a C runtime around for things like malloc ...
> which the statically-linked code apparently wants.
>
> I could hack the source of the DLL build to create an independent .OBJ
> without C runtime dependence, but I would MUCH rather be able to use the
> standard source from the project.
>
> Is there any supported means for creating a C runtime-independent .OBJ for
> statically linking into a non-C program?
>
> Thanks very much!
> ______________________________________________________________________
> Steve.
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>
More information about the Speex-dev
mailing list