[physfs] Cross compiling PhysicsFS 3.0.1 using MinGW on Linux

Jay Dolan jay.t.dolan at gmail.com
Tue Mar 6 22:06:58 EST 2018


That did the trick! Thanks for helping this CMake newb out.

On Tue, Mar 6, 2018 at 11:38 AM, Ryan C. Gordon <icculus at icculus.org> wrote:

>
> set(CMAKE_SYSTEM_NAME Windows)
>>
>
> This is the magic that should avoid adding -rdynamic (it picks that up
> from the Modules/Platform/Linux-GNU.cmake file, wherever CMake is
> installed, and CMAKE_SYSTEM_NAME should tell it not to even look at that
> file).
>
> My _guess_ is that you have -rdynamic cached from a previous build attempt
> before you wrote the toolchain file. If I'm right (this is arguably a CMake
> bug, but), delete your build directory completely and let it start from
> scratch with your toolchain file, and see if that resolves it.
>
> --ryan.
>
>
>


-- 
Jay Dolan
508-415-1866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20180306/7ecbff34/attachment.html>


More information about the physfs mailing list