FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Wed Nov 25, 2020 10:08



Post new topic Reply to topic  [ 2 posts ] 
cross compile failed 
Author Message

Joined: Wed Jul 31, 2013 09:37
Posts: 1
Post cross compile failed
Hi,
I have downloaded the source code, I want to build ntfs-3g to run on android phone

My android phone project tool chain is "arm-linux-androideabi-4.6", I build the project use follow instructions:

./configure CC=arm-linux-androideabi --host=arm-none-linux-gnueabi
make

The result is that I can not get the excutable ntfs-3g program for my android phone

what can I do?

Thanks


Wed Jul 31, 2013 09:49
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: cross compile failed
Hi,

Quote:
I want to build ntfs-3g to run on android phone

If your Android environment is different from what ntfs-3g expects (calls through fuse, system calls, run-time libraries), you will have to adapt...
Quote:
./configure CC=arm-linux-androideabi --host=arm-none-linux-gnueabi

Is this the configure shipped with ntfs-3g ? Did you make changes ? AFAIK it does not know about Android.

When I cross-compile, I generally define the host and target with triplets cpu-vendor-os, in your case this would be :
Code:
./configure --target=arm-unknown-android --host=arm-unknown-linux

Now, the target actually defines the compiler to be used, so your ./configure options could be correct, but you might also have to define the target location of the executable and libraries...
Quote:
The result is that I can not get the excutable ntfs-3g program for my android phone
what can I do?

A good start would be to tell us more about your target environment, and what is happening...
- does the configure command issue errors ?
- does the make command issue errors ?
- is the uploading of the executable to your phone rejected ?

Regards

Jean-Pierre


Wed Jul 31, 2013 14:19
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.