Re: [fpc-pascal] EMBT's FireMonkey framework with FPC

2013-06-24 Thread Craig Peterson
I ha

On Jun 23, 2013, at 3:26 PM, Graeme Geldenhuys  wrote:

> Anybody know if FireMonkey 2 (one included with Delphi XE 4) is still
> compatible [even with some manual tweaking of FMX source code] with Free
> Pascal?

I haven't tested it, but I'm fairly certain it doesn't work in Free Pascal mode 
anymore, and even if it is with minor tweaks, it won't stay that way as they 
continue changing the language.

If you're ok rewriting just just the UI per platform, you should evaluate 
RemObject's Oxygene too.

-- 
Craig Peterson
Scooter Software
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At revision 24956.

2013-06-24 Thread Eric Kom

On 24/06/2013 09:48, Pierre Free Pascal wrote:

   Hi Eric,

   the cycle seems to run without problems on tonight's linux VM.
It happens that si_c21.inc only exists for i386-linux target,
but when you send such an email, it would be nice to
specify which cpu and os your are using as host
and possibly the target if you are cross-compiling...

erickom@cloudOne:~/fpcBuild/fpc$ uname -a
Linux cloudOne 3.9-1-686-pae #1 SMP Debian 3.9.6-1 i686 GNU/Linux



Did you also check if your svn checkout is clean?
What is at line 57 of your rtl/linux/i386/si_c21.inc

procedure _FPC_libc21_start; assembler; nostackframe; public name '_start';
asm
]  xorl%ebp,%ebp
  { First locate the start of the environment variables }

the ]  was found at the line 57.

I removed it and it works.

I don't know how the symbol manage to get there.

Thanks

maybe the file was edited locally and 'svn update'
resulted in a conflict.

Another possible explanation is that your assembler is not for the correct
CPU.

Please give us more information so we can help you.

Pierre Muller


-Message d'origine-
De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-
boun...@lists.freepascal.org] De la part de Eric Kom
Envoyé : lundi 24 juin 2013 07:40
À : fpc-pascal@lists.freepascal.org
Objet : [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At
revision 24956.

make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all
..
si_c21.inc(57,1) Error: Unrecognized opcode
si_c21.inc(57,1) Error: Assembler syntax error
si_c21.pp(27) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[7]: *** [si_c21.ppu] Error 1
make[7]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl/linux'
make[6]: *** [linux_all] Error 2
make[6]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl'
make[5]: *** [rtl] Error 2
make[5]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
make[3]: *** [ppc1] Error 2
make[3]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/home/erickom/fpcBuild/fpc'
make: *** [build-stamp.i386-linux] Error 2

--
Kind Regards

Eric Kom

System Administrator & Programmer - Metropolitan College
   _
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends./
   -
 \
  \
  .--.
 |o_o |
 |:_/ |
//   \ \
   (| Kom | )
  /'\_   _/`\
  \___)=(___/

2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
eric...@kom.za.net | eric...@metropolitancollege.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal




--
Kind Regards

Eric Kom

System Administrator & Programmer - Metropolitan College
 _
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends./
 -
   \
\
.--.
   |o_o |
   |:_/ |
  //   \ \
 (| Kom | )
/'\_   _/`\
\___)=(___/

2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
eric...@kom.za.net | eric...@metropolitancollege.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] EMBT's FireMonkey framework with FPC

2013-06-24 Thread Graeme Geldenhuys
Hi,

Before Embarcadero bought VG-Scene from KSDev, I believe it was Free
Pascal compatible. Please correct me if I am wrong - maybe it was
another KSDev product I'm thinking of.

Anybody know if FireMonkey 2 (one included with Delphi XE 4) is still
compatible [even with some manual tweaking of FMX source code] with Free
Pascal?

I've got a potential mobile project, and am evaluating various products
to decide what it must be developed it. I would like to target both iOS
and Android.

eg:
  Free Pascal - How good is the iOS and Android support?
  Delphi XE 4 with FireMonkey - iOS support already exists, and have
  good faith that Android support will be added later this
  yeat.
  Xamian
  Java with Eclipse+ADT or IntelliJ IDEA - Android only
  Objective-C - iOS only


I would love to reuse code between platforms, but if I can't do it in a
relatively simple manner, I'll have to use the native tools for each target.

Regards,
  - Graeme -


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At revision 24956.

2013-06-24 Thread Jonas Maebe


On 24 Jun 2013, at 07:40, Eric Kom wrote:


make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all


Although it is most likely unrelated to the problem you currently  
have, please do not use OVERRIDEVERSIONCHECK=1 and definitely never  
ask for support when using that switch. It is not a supported  
configuration, as the Makefiles tell you when you use it.



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At revision 24956.

2013-06-24 Thread Pierre Free Pascal
  Hi Eric,

  the cycle seems to run without problems on tonight's linux VM.
It happens that si_c21.inc only exists for i386-linux target,
but when you send such an email, it would be nice to
specify which cpu and os your are using as host
and possibly the target if you are cross-compiling...

Did you also check if your svn checkout is clean?
What is at line 57 of your rtl/linux/i386/si_c21.inc
maybe the file was edited locally and 'svn update'
resulted in a conflict.

Another possible explanation is that your assembler is not for the correct
CPU.

Please give us more information so we can help you.

Pierre Muller

> -Message d'origine-
> De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-
> boun...@lists.freepascal.org] De la part de Eric Kom
> Envoyé : lundi 24 juin 2013 07:40
> À : fpc-pascal@lists.freepascal.org
> Objet : [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At
> revision 24956.
> 
> make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all
> ..
> si_c21.inc(57,1) Error: Unrecognized opcode
> si_c21.inc(57,1) Error: Assembler syntax error
> si_c21.pp(27) Fatal: There were 2 errors compiling module, stopping
> Fatal: Compilation aborted
> make[7]: *** [si_c21.ppu] Error 1
> make[7]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl/linux'
> make[6]: *** [linux_all] Error 2
> make[6]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl'
> make[5]: *** [rtl] Error 2
> make[5]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
> make[4]: *** [next] Error 2
> make[4]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
> make[3]: *** [ppc1] Error 2
> make[3]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
> make[2]: *** [cycle] Error 2
> make[2]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler'
> make[1]: *** [compiler_cycle] Error 2
> make[1]: Leaving directory `/home/erickom/fpcBuild/fpc'
> make: *** [build-stamp.i386-linux] Error 2
> 
> --
> Kind Regards
> 
> Eric Kom
> 
> System Administrator & Programmer - Metropolitan College
>   _
> / You are scrupulously honest, frank, and \
> | straightforward. Therefore you have few |
> \ friends./
>   -
> \
>  \
>  .--.
> |o_o |
> |:_/ |
>//   \ \
>   (| Kom | )
>  /'\_   _/`\
>  \___)=(___/
> 
> 2 Hennie Van Till, White River, 1240
> Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
> eric...@kom.za.net | eric...@metropolitancollege.co.za
> www.kom.za.net | www.kom.za.org | www.erickom.co.za
> 
> Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5
> 
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal