aisouard / libwebrtc

:package: Google's WebRTC implementation in a single static library.
https://axel.isouard.fr/libwebrtc
Apache License 2.0
641 stars 190 forks source link

Windows: Add support for x86 architecture #4

Closed aisouard closed 7 years ago

aisouard commented 7 years ago

Compiled it successfully with:

cmake -DTARGET_CPU="x86" -DTARGET_OS="win" -G "Visual Studio 14 2015" ..

Dump of the library:

C:\libwebrtc\out\libwebrtc\Debug>dumpbin webrtc.lib /headers
Microsoft (R) COFF/PE Dumper Version 14.00.24215.1
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file webrtc.lib

File Type: LIBRARY

FILE HEADER VALUES
             14C machine (x86)
               1 number of sections
        589751C8 time date stamp Sun Feb  5 08:24:40 2017
              3C file pointer to symbol table
               6 number of symbols
               0 size of optional header
             10C characteristics
                   Line numbers stripped
                   Symbols stripped
                   32 bit word machine

Dump of the peerconnection_client.exe program :

C:\libwebrtc\out\src\out\Default>dumpbin peerconnection_client.exe /headers
Microsoft (R) COFF/PE Dumper Version 14.00.24215.1
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file peerconnection_client.exe

PE signature found

File Type: EXECUTABLE IMAGE

FILE HEADER VALUES
             14C machine (x86)
               9 number of sections
        5897534B time date stamp Sun Feb  5 08:31:07 2017
               0 file pointer to symbol table
               0 number of symbols
              E0 size of optional header
             122 characteristics
                   Executable
                   Application can handle large (>2GB) addresses
                   32 bit word machine