Menu

#70 enable Dll/Makefile.mingw32 for cross compilation

None
closed-accepted
None
5
2016-01-29
2015-01-20
No

Hi,

I wanted to compile the lame_enc.dll with a cross compiler. I noticed I could pass CC and LD to the Makefile but had no possibility to specify dlltool. I thus introduced a variable and was able to call

make -f Makefile.mingw32 CC=x86_64-w64-mingw32-g++ LD=x86_64-w64-mingw32-g++ DLLTOOL=x86_64-w64-mingw32-dlltool

and got the dll.
I also modified the path passed to the linker as the libmp3lame libs were compiled to

../libmp3lame/.libs

Best,
Bernhard Döbler

1 Attachments

Discussion

  • Alexander Leidinger

    • assigned_to: Alexander Leidinger
    • Group: -->
     
  • Alexander Leidinger

    • status: open --> closed-accepted
     
  • Alexander Leidinger

    For lame 3.100. Thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB