Recent

Author Topic: About Free Pascal and MinGW (or cygwin)  (Read 4233 times)

jmpessoa

  • Hero Member
  • *****
  • Posts: 1479
About Free Pascal and MinGW (or cygwin)
« on: June 04, 2013, 05:26:35 am »
Hi there!

I learned that the android-ndk can produce/compile native library 
write in "C" "binding" against MinGW (or cygwin) stuff on Windows environment...

Anyone know about the possibility of Free Pascal "binding" against MinGW(or cygwin) stuff on Windows to produce
Linux library?

I found this:

ftp://ftp.freepascal.org/pub/fpc/contrib/cross/mingw/

Is it about this subject?

Thanks in advance ..
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7604
Re: About Free Pascal and MinGW (or cygwin)
« Reply #1 on: June 05, 2013, 10:01:26 am »
One can generate linux binaries on Windows. This is what crosscompiling does.

Generally on windows, one uses crossassemblers, archivers and linkers from mingw sources.  The rest is not really necessary. (in rare cases also windres).

Just search for crosscompiling topics on this forum.

jmpessoa

  • Hero Member
  • *****
  • Posts: 1479
Re: About Free Pascal and MinGW (or cygwin)
« Reply #2 on: June 05, 2013, 05:11:33 pm »
Very thank Marcov!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard