[CMake] Cygwin drive paths are killing me

J Decker d3ck0r at gmail.com
Wed Jun 11 19:09:14 EDT 2014


Oh; I seee; you are using a cmake that came with cygwin; use instead a
standalone cmake... the only other thing that would be required from MinGW
would be 'make' (maybe some things like 'rm' but probably not since cmake
has its own way of deleting files....  you can probably find Make 3.81
ported for windows standalone since it doesn't require a posix system to
work.


On Wed, Jun 11, 2014 at 4:05 PM, J Decker <d3ck0r at gmail.com> wrote:

> cygwin is not erquired, if you use cygwin, it is required you use 1.7 and
> not 1.5.Again, the NDK prebuilt tools will not be compiled for cygwin and
> one of gcc, et al will understand /cygdrive, nto a cmake issue.
> Solvable by using MinGW instead.
>
> Android toolchain files should allow you to select simply the architecture
> you want, which is just substituting a path path and maybe the extendtion
> of gcc-*.exe...... since the layout of the different target platform
> compilers are all the same... I guess includes and lib directory changes
> also; but again, consistently; so is easily handled with options in
> toolchain file.
>
> I don't use Standalone, looked like a lot of work for nothing.. since
> everything is already in a usable state in the NDK package
>
>
>
>
> On Wed, Jun 11, 2014 at 2:47 PM, Eric Wing <ewmailing at gmail.com> wrote:
>
>> So I tried the Cygwin CMake, and while it allowed me to remove most of
>> my hacks, the final Makefile was still not usable because it appears
>> the standalone gcc wants a Windows path and not /cygdrive/.
>>
>> So let's pretend I can do this without any Unix tools...
>>
>> - Am I still generating "Unix Makefiles"?
>> - It looks like all the standalone tools like gcc may map correctly
>> - But how do I run 'make' to build? Are the make files generated
>> compatible with the GNUMake that ships with the NDK?
>>
>> Thanks,
>> Eric
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140611/cf26c85b/attachment.html>


More information about the CMake mailing list