Rockbox Development > Starting Development and Compiling

troubles building Android App using Windows/Cygwin

<< < (2/3) > >>

nieroster:

--- Quote from: bluebrother on June 08, 2011, 04:37:36 AM ---You don't get it. You use 4.4.3. That's the recommended version for Android since it's the latest version with the current NDK.
--- End quote ---

ok. But why does the warning show up?


--- Quote from: bluebrother on June 08, 2011, 04:37:36 AM ---is that the base path of the NDK, i.e. the path that contains the file ndk-build?
--- End quote ---

yes


--- Quote from: bluebrother on June 08, 2011, 04:37:36 AM ---How did you check out? Did you use the Cygwin svn client?

--- End quote ---

No I used tortoise SVN, until now I had no problem when building other targets like iRiver. Although I have seen that for example android/installToolchain.sh has the eol-style:native property set which leads to CRLF line endings when checked out on a windows machine.


--- Quote from: bluebrother on June 08, 2011, 04:37:36 AM ---Either fix the problems or wait until someone else does.

--- End quote ---

Well, if I would know where to start, I'd gladly do so. For example how do I make the commands issued visible?

Regards,
Franz

[Saint]:
I don't even think it's currently possible to build RaaA on CygWin...

There's some ancient patch on the tracker that seems to imply that someone figured it out at some point, but I wouldn't count on it to apply cleanly still.

My best advice, and almost certainly the advice of many others, would be to set up a "sane" (if you don't know what distro is best for you...use Ubuntu) Linux distro in a virtual machine.


[St.]

paulheu:
Trust me, just get VirtualBox and install Ubuntu on a VM.. you'll never look back

bluebrother:

--- Quote from: nieroster on June 08, 2011, 04:50:15 AM ---
--- Quote from: bluebrother on June 08, 2011, 04:37:36 AM ---You don't get it. You use 4.4.3. That's the recommended version for Android since it's the latest version with the current NDK.
--- End quote ---

ok. But why does the warning show up?

--- End quote ---

Because of a line ending issue when calling the Android gcc. I've changed this locally and now configure runs without warnings for me -- but it doesn't fix building because there are other problems left. Haven't figured those yet but I wouldn't be surprised if those are similar.

Basically, building for Android using Cygwin is broken.

nieroster:
@bluebrother

Thank you for your effort! If I understand correctly the windows version of Android gcc cannot handle windows style line endings correctly?

Btw. the shellscript installToolchain still has the svn property eol-style:native. This should either be removed or changed to eol-style:LF, otherwise it will not work.

Regards,
Franz

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version