Felipe Monteiro de Carvalho wrote on Fri, 14 Sep 2012:
make crossinstall CPU_TARGET=arm OS_TARGET=android
OPT="-FlC:/Programas/android-ndk-r7b/platforms/android-8/arch-arm/usr/lib/"
CROSSOPT="-CpARMv6 -CfSoft" BINUTILSPREFIX=arm-linux-androideabi-
INSTALL_PREFIX=output
pause
Note that due to so
Thanks,
Some strange things happen. It generates the ppas.bat file as
utils/fppkg/bin/arm-android/ppas.bat, but running the file in this
position causes all kinds of errors because the paths inside the file
seam to suppose that it is located in utils/fppkg/
So I copied the file to utils/fppkg/ an
Felipe Monteiro de Carvalho wrote on Fri, 14 Sep 2012:
Start compiling package fppkg-util for target arm-android.
Compiling fppkg.pp
Linking bin\arm-android\fppkg
The installer encountered the following error:
External command "D:/targetandroid/compiler/ppcrossarm.exe -Tandroid
Hello,
Ok, I removed the CROSSBINDIR because the binutils are now in the path
anyway and it goes a bit forward, but then fails again:
Start compiling package fppkg-util for target arm-android.
Compiling fppkg.pp
Linking bin\arm-android\fppkg
The installer encountered the following e
> -Message d'origine-
> De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel-
> boun...@lists.freepascal.org] De la part de Felipe Monteiro de Carvalho
> Envoyé : jeudi 13 septembre 2012 16:35
> À : FPC developers' list
> Objet : Re: [fpc-
On Mon, Sep 10, 2012 at 4:42 PM, Marco van de Voort wrote:
> Afaik there was some comment later in that thread that the makefiles
> sometimes detect
> windows by the semicomma's in the PATH.
>
> Try to add ;c:\windows\system or so to your path line.
Nice, that fixes the problem too =) Strange th
In our previous episode, Felipe Monteiro de Carvalho said:
> wrote:
> > but I have:
> >
> > SET PATH=C:\Programas\lazarus31\fpc\2.6.1\bin\i386-win32
> >
> > And the file C:\Programas\lazarus31\fpc\2.6.1\bin\i386-win32\pwd.exe does
> > exist
>
> I think I found the problem. It seams that building
On Mon, Jul 9, 2012 at 12:09 PM, Felipe Monteiro de Carvalho
wrote:
> but I have:
>
> SET PATH=C:\Programas\lazarus31\fpc\2.6.1\bin\i386-win32
>
> And the file C:\Programas\lazarus31\fpc\2.6.1\bin\i386-win32\pwd.exe does
> exist
I think I found the problem. It seams that building fails if my sou
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.
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
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
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:
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
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
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
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
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
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
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
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 the ppas.sh that the correct assembler is used?
Could you be more specific ab
Hi,
Am 08.07.2012 14:20, schrieb Felipe Monteiro de Carvalho:
Hello,
Using the same command lines as before, now I get a different error:
make rtl_all
FPC=/Users/felipe/Programas/targetandroid/compiler/ppcrossarm
RELEASE=1
make -C rtl all
make -C android all
/Users/felipe/Programas/android-
On Sun, Jul 8, 2012 at 2:20 PM, Felipe Monteiro de Carvalho
wrote:
> Maybe it will work with NDK v8, so I am downloading that now.
nope, using NDK v8 didn't help
--
Felipe Monteiro de Carvalho
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
Hi,
Am 08.07.2012 14:13, schrieb Felipe Monteiro de Carvalho:
On Sun, Jul 8, 2012 at 1:19 AM, Thomas Schatzl
wrote:
Updated/rebased the branch with 21814. The sources now compile with
-Cparmv6, and I also got cross- and native arm/android compilers.
Great! I will test now.
Just to know: Doe
Hello,
Using the same command lines as before, now I get a different error:
make rtl_all FPC=/Users/felipe/Programas/targetandroid/compiler/ppcrossarm
RELEASE=1
make -C rtl all
make -C android all
/Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bi
On Sun, Jul 8, 2012 at 1:19 AM, Thomas Schatzl wrote:
> Updated/rebased the branch with 21814. The sources now compile with
> -Cparmv6, and I also got cross- and native arm/android compilers.
Great! I will test now.
Just to know: Does this compiler contain all the fixes from multiple
bug reports
On 07.07.12 12:24, Felipe Monteiro de Carvalho wrote:
> On Sat, Jul 7, 2012 at 11:42 AM, Thomas Schatzl wrote:
>> The revision you have does not support the "rev" instruction when using
>> -CpARMv6. Use -CpARMv5 (or no switch, as it is the default) to create the
>> (cross-)compiler.
>
> -CpARMv5
Hi,
Am 07.07.2012 12:24, schrieb Felipe Monteiro de Carvalho:
On Sat, Jul 7, 2012 at 11:42 AM, Thomas Schatzl
wrote:
I will look at how much work it is to merge the branch to latest.
thanks =)
Updated/rebased the branch with 21814. The sources now compile with
-Cparmv6, and I also got cro
On Sat, Jul 7, 2012 at 11:42 AM, Thomas Schatzl wrote:
> The revision you have does not support the "rev" instruction when using
> -CpARMv6. Use -CpARMv5 (or no switch, as it is the default) to create the
> (cross-)compiler.
-CpARMv5 will generate instructions which crash many Android devices,
in
Hi,
Am 07.07.2012 09:57, schrieb Felipe Monteiro de Carvalho:
Hello,
In Mac OS X, using FPC 2.6.0 as a starting compiler I did:
svn co http://svn.freepascal.org/svn/fpc/branches/targetandroid
targetandroid
cd targetandroid
make crossinstall CPU_TARGET=arm OS_TARGET=android OPT="-dFPC_ARMEL
29 matches
Mail list logo