Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Thomas Schatzl
On Mon, 2012-07-09 at 08:53 +0200, Felipe Monteiro de Carvalho wrote: > On Sun, Jul 8, 2012 at 5:15 PM, Thomas Schatzl wrote: > > can you check whether the correct assembler is used, e.g. change into the > > rtl directory, and run the ppcrossarm as above with -al -s appended? And > > then verify

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Felipe Monteiro de Carvalho
On Mon, Jul 9, 2012 at 9:42 AM, Thomas Schatzl wrote: > Run >... > (I.e. the command line that failed, including "-al -s") That results in: Fatal: No source file name in command line Fatal: Compilation aborted -- Felipe Monteiro de Carvalho ___ fpc-d

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Thomas Schatzl
On Mon, 2012-07-09 at 10:01 +0200, Felipe Monteiro de Carvalho wrote: > On Mon, Jul 9, 2012 at 9:42 AM, Thomas Schatzl wrote: > > Run > >... > > (I.e. the command line that failed, including "-al -s") > > That results in: > > Fatal: No source file name in command line > Fatal: Compilation aborte

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Jeppe Græsdal Johansen
Den 08-07-2012 14:42, Thomas Schatzl skrev: Actually, I saw that armv5 already supports blx, do not know right now why it isn't generated in the first place. Did you ever try compiling the compiler or your program with -Cparmv5? Maybe it's just that the compiler default is < armv5? I never r

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Felipe Monteiro de Carvalho
In Windows I also have strange issues: D:\targetandroid>PATH=C:\Programas\lazarus31\fpc\2.6.1\bin\i386-win32 D:\targetandroid>make crossinstall CPU_TARGET=arm OS_TARGET=android OPT="-dFPC_A RMEL" CROSSOPT="-CpARMv6 -CfSoft" CROSSBINDIR=C:\Programas\android-ndk-r8\toolch ains\arm-linux-androideabi

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Jeppe Græsdal Johansen
Den 09-07-2012 11:20, Felipe Monteiro de Carvalho skrev: makefile:29: *** You need the GNU utils package to use this Makefile. Stop. Looks like it can't find a proper strip binary. Is your binutils prefix correct? Maybe you have problems with the backslashes? A silly suggestion: try changing t

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Thomas Schatzl
Hi, On Mon, 2012-07-09 at 11:12 +0200, Jeppe Græsdal Johansen wrote: > Den 08-07-2012 14:42, Thomas Schatzl skrev: > >>> Actually, I saw that armv5 already supports blx, do not know right > >>> now why > >>> it isn't generated in the first place. Did you ever try compiling the > >>> compiler or y

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Felipe Monteiro de Carvalho
On Mon, Jul 9, 2012 at 11:24 AM, Jeppe Græsdal Johansen wrote: > Looks like it can't find a proper strip binary. Is your binutils prefix > correct? Yes, the prefix is correct Is it complaining about general binutils, like strip.exe, or about the cross-binutils? Anyway, these 2 files do exist:

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Thomas Schatzl
Hi again, On Mon, 2012-07-09 at 11:33 +0200, Thomas Schatzl wrote: > > > > You should be using -Cparmv5t if you want armv5 and blx. The t indicates > > that the device has thumb support, which most have, but armv5 is usually > > safer, hence it's the default. > > You are right although fpc seem

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Jonas Maebe
Felipe Monteiro de Carvalho wrote on Mon, 09 Jul 2012: Is it complaining about general binutils, like strip.exe, or about the cross-binutils? That error is only printed if the Makefile cannot find pwd.exe in the PATH. It should be part of a default FPC 2.6.0 install. Note that pwd.exe is

Re: [fpc-devel] Error building branch targetandroid

2012-07-09 Thread Felipe Monteiro de Carvalho
On Mon, Jul 9, 2012 at 11:55 AM, Jonas Maebe wrote: > That error is only printed if the Makefile cannot find pwd.exe in the PATH. > It should be part of a default FPC 2.6.0 install. but I have: SET PATH=C:\Programas\lazarus31\fpc\2.6.1\bin\i386-win32 And the file C:\Programas\lazarus31\fpc\2.6.