Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-02

Cross-compiler installation

11 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog
to Henry Vermaak

2013/2/22 Henry Vermaak

Show quoted text 14 lines
On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote: > Hello, > > What is "cross-compiler installation" mentioned in this article?: > > http://wiki.freepascal.org/Android (please see: http://imagebin.org/247728) > > And where do I download it? The heading of that section is "Building cross compiler", so that path is where the cross compiler will be installed _after_ you've built it. Henry

OK, but...

I added the following paths on "PATH" env. variable:

C:\lazarus\fpc\2.7.1\bin\i386-win32
C:\Program Files (x86)\Android
SDK\android-ndk-r8d\toolchains\arm-linux-androideabi-4.7\prebuilt\windows\bin

And after:

C:\Users\silvioprog>make crossall crossinstall OS_TARGET=android CPU_TARGET=arm
INSTALL_PREFIX=C:\Develop\FPC\pp
make: *** No rule to make target `crossall'. Stop.

How to solve it please? :(

Silvio Clécio My public projects - github.com/silvioprog

Reply by email

Henry Vermaak
to silvioprog
silvioprog wrote 16 lines
OK, but... I added the following paths on "PATH" env. variable: C:\lazarus\fpc\2.7.1\bin\i386-win32 C:\Program Files (x86)\Android SDK\android-ndk-r8d\toolchains\arm-linux-androideabi-4.7\prebuilt\windows\bin And after: C:\Users\silvioprog>make crossall crossinstall OS_TARGET=android CPU_TARGET=arm INSTALL_PREFIX=C:\Develop\FPC\pp make: *** No rule to make target `crossall'. Stop. How to solve it please? :(

You're not in the fpc source directory.

Henry

Reply by email

silvioprog
to Henry Vermaak: The heading of that section is "Building cross compiler", so that path is where the cross…

2013/2/22 Henry Vermaak

Show quoted text 14 lines
On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote: > Hello, > > What is "cross-compiler installation" mentioned in this article?: > > http://wiki.freepascal.org/Android (please see: http://imagebin.org/247728) > > And where do I download it? The heading of that section is "Building cross compiler", so that path is where the cross compiler will be installed _after_ you've built it. Henry

Oops, I saw it now. ^^'

Silvio Clécio My public projects - github.com/silvioprog

Reply by email

silvioprog
to Sven Barth: You need to be inside the directory where your 2.7.1 source is located (the directory…

2013/2/22 Sven Barth

Show quoted text 46 lines
On 22.02.2013 15:09, silvioprog wrote: > 2013/2/22 Henry Vermaak < > < >> > > > On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote: > > Hello, > > > > What is "cross-compiler installation" mentioned in this article?: > > > > http://wiki.freepascal.org/**Android<http://wiki.freepascal.org/Android>(please see: > http://imagebin.org/247728) > > > > And where do I download it? > > The heading of that section is "Building cross compiler", so that path > is where the cross compiler will be installed _after_ you've built it. > > Henry > > > OK, but... > > I added the following paths on "PATH" env. variable: > > C:\lazarus\fpc\2.7.1\bin\i386-**win32 > C:\Program Files (x86)\Android > SDK\android-ndk-r8d\**toolchains\arm-linux-**androideabi-4.7\prebuilt\** > windows\bin > > And after: > > C:\Users\silvioprog>make crossall crossinstall OS_TARGET=android > CPU_TARGET=arm > INSTALL_PREFIX=C:\Develop\FPC\**pp > make: *** No rule to make target `crossall'. Stop. > > How to solve it please? :( > You need to be inside the directory where your 2.7.1 source is located (the directory that contains the compiler, rtl, packages, etc. directory). Regards, Sven

Yeah! :) But, errors again:

http://pastebin.com/NzaFzQsU

Silvio Clécio My public projects - github.com/silvioprog

Reply by email

silvioprog
to Sven Barth: You are not the only one: http://bugs.freepascal.org/view.php?id=23931 So it might be…

2013/2/22 Sven Barth

Show quoted text 7 lines
You are not the only one: http://bugs.freepascal.org/**view.php?id=23931<http://bugs.freepascal.org/view.php?id=23931> So it might be best to wait until it's solved (I currently don't see why it fails... :( ) Regards, Sven

Phew, now I'm monitoring it. :)

Silvio Clécio My public projects - github.com/silvioprog

Reply by email

Sven Barth
to silvioprog: 2013/2/22 Henry Vermaak OK, but... I added the following paths on "PATH" env. variable:…
silvioprog wrote 35 lines
2013/2/22 Henry Vermaak < > On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote: > Hello, > > What is "cross-compiler installation" mentioned in this article?: > > http://wiki.freepascal.org/Android (please see: http://imagebin.org/247728) > > And where do I download it? The heading of that section is "Building cross compiler", so that path is where the cross compiler will be installed _after_ you've built it. Henry OK, but... I added the following paths on "PATH" env. variable: C:\lazarus\fpc\2.7.1\bin\i386-win32 C:\Program Files (x86)\Android SDK\android-ndk-r8d\toolchains\arm-linux-androideabi-4.7\prebuilt\windows\bin And after: C:\Users\silvioprog>make crossall crossinstall OS_TARGET=android CPU_TARGET=arm INSTALL_PREFIX=C:\Develop\FPC\pp make: *** No rule to make target `crossall'. Stop. How to solve it please? :(

You need to be inside the directory where your 2.7.1 source is located (the directory that contains the compiler, rtl, packages, etc. directory).

Regards,
Sven

Reply by email

Sven Barth
to silvioprog: 2013/2/22 Sven Barth Yeah! :) But, errors again: http://pastebin.com/NzaFzQsU Silvio…
silvioprog wrote 59 lines
2013/2/22 Sven Barth < > On 22.02.2013 15:09, silvioprog wrote: 2013/2/22 Henry Vermaak < < >> On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote: > Hello, > > What is "cross-compiler installation" mentioned in this article?: > > http://wiki.freepascal.org/__Android <http://wiki.freepascal.org/Android> (please see: http://imagebin.org/247728) > > And where do I download it? The heading of that section is "Building cross compiler", so that path is where the cross compiler will be installed _after_ you've built it. Henry OK, but... I added the following paths on "PATH" env. variable: C:\lazarus\fpc\2.7.1\bin\i386-__win32 C:\Program Files (x86)\Android SDK\android-ndk-r8d\__toolchains\arm-linux-__androideabi-4.7\prebuilt\__windows\bin And after: C:\Users\silvioprog>make crossall crossinstall OS_TARGET=android CPU_TARGET=arm INSTALL_PREFIX=C:\Develop\FPC\__pp make: *** No rule to make target `crossall'. Stop. How to solve it please? :( You need to be inside the directory where your 2.7.1 source is located (the directory that contains the compiler, rtl, packages, etc. directory). Regards, Sven Yeah! :) But, errors again: http://pastebin.com/NzaFzQsU

You are not the only one: http://bugs.freepascal.org/view.php?id=23931 So it might be best to wait until it's solved (I currently don't see why it fails... :( )

Regards,
Sven

Reply by email

Sven Barth
to silvioprog: 2013/2/22 Sven Barth Phew, now I'm monitoring it. :) Silvio Clécio My public projects -…
silvioprog wrote 14 lines
2013/2/22 Sven Barth < > You are not the only one: http://bugs.freepascal.org/__view.php?id=23931 <http://bugs.freepascal.org/view.php?id=23931> So it might be best to wait until it's solved (I currently don't see why it fails... :( ) Regards, Sven Phew, now I'm monitoring it. :)

I've read your comment on Mantis. Things like this are better discussed in the mailing list :)

Can it be that you called make with INSTALL_PREFIX=C:\Develop\FPC\pp\ ? If so then please remove the "\" at the end. The makefiles don't like it... (coming from the Unix world they treat "\ " as " ")

Regards,
Sven

Reply by email

silvioprog
to Sven Barth
"Sven Barth" wrote 29 lines
On 22.02.2013 16:15, silvioprog wrote: > 2013/2/22 Sven Barth < > < >> > > You are not the only one: > http://bugs.freepascal.org/__**view.php?id=23931<http://bugs.freepascal.org/__view.php?id=23931> > <http://bugs.freepascal.org/**view.php?id=23931<http://bugs.freepascal.org/view.php?id=23931> > > > So it might be best to wait until it's solved (I currently don't see > why it fails... :( ) > > Regards, > Sven > > > Phew, now I'm monitoring it. :) > I've read your comment on Mantis. Things like this are better discussed in the mailing list :) Can it be that you called make with INSTALL_PREFIX=C:\Develop\FPC\**pp\ ? If so then please remove the "\" at the end. The makefiles don't like it... (coming from the Unix world they treat "\ " as " ") Regards, Sven

Friends, after I updated my repository, now it worked like a charm. :-)

Silvio Clécio My public projects - github.com/silvioprog

Reply by email