Sign in Join

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

Mailing lists / lazarus / 2011-11

Android test, problem with crti.o

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Lukas Gradl

Hi list,

trying to compile the Android lcl example as described in http://wiki.lazarus.freepascal.org/Android_Interface on an Kubuntu 11.10 x64 box using fpc out of svn fixes_2_6 branch.

I could successfully build a ppcrossarm and binutils.

unfortunatly linking the android example fails, with /usr/lib/x86_64-linux-gnu/crti.o: file not recocnized: File format not recognized.

any hint on how to proceed?

regards
Lukas

-------------------------- software security networks Lukas Gradl <fpc#ssn.at> Eduard-Bodem-Gasse 5 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 --------------------------

Reply by email

Felipe Monteiro de Carvalho
to Lukas Gradl

You are using the wrong mailling list, for problems building a cross-compiler you should use fpc-pascal.

About your specific problem I have no idea, the only thing I can think about is that you could try my pre-compiled snapshot. But I don't know if it works in x86-64.

Felipe Monteiro de Carvalho

Reply by email

Torsten Bonde Christiansen
to Lukas Gradl: trying to compile the Android lcl example as described in…

I had the same problem. I think I solved it by using -Xd (do not use standard path for libraries).

Kind regards,
Torsten Bonde Christiansen.

Lukas Gradl wrote 18 lines
Hi list, trying to compile the Android lcl example as described in http://wiki.lazarus.freepascal.org/Android_Interface on an Kubuntu 11.10 x64 box using fpc out of svn fixes_2_6 branch. I could successfully build a ppcrossarm and binutils. unfortunatly linking the android example fails, with /usr/lib/x86_64-linux-gnu/crti.o: file not recocnized: File format not recognized. any hint on how to proceed? regards Lukas

Reply by email

Lukas Gradl
to Felipe Monteiro de Carvalho: You are using the wrong mailling list, for problems building a cross-compiler you should…
Felipe Monteiro de Carvalho wrote
You are using the wrong mailling list, for problems building a cross-compiler you should use fpc-pascal.

Building the crosscompiler was no problem. But linking a Lazarus project fails - and that's a lazarus specific problem I think. So this mailing list should be quite right...

regards
Lukas

-------------------------- software security networks Lukas Gradl <fpc#ssn.at> Eduard-Bodem-Gasse 5 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 --------------------------

Reply by email

Felipe Monteiro de Carvalho
to Lukas Gradl
Lukas Gradl wrote
Building the crosscompiler was no problem. But linking a Lazarus project fails - and that's a lazarus specific problem I think. So this mailing list should be quite right...

No, crti.o has nothing to do with Lazarus. It is a generic compiler usage/building issue.

Felipe Monteiro de Carvalho

Reply by email