Sign in Join

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

Mailing lists / fpc-other / 2007-10

Re: Mac Questions

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Jonas Maebe
to L: This is kind of not pascal related.. Can one use a Mac to compile BSD web programs and…
Show quoted text 7 lines
Can one use a Mac to compile BSD web programs and then upload these BSD programs to a BSD server? Can one create ELF on Mac and upload to a linux server fairly easily.. (compared to Windows where it is harder to make Elf's)

Cross compiling on a Mac is no more difficult than cross-compiling on BSD or Linux. The only thing to keep in mind is that if you need to generate i386 programs, the host compiler has to be an i386 binary as well currently.

Jonas

L

This is kind of not pascal related..

Can one use a Mac to compile BSD web programs and then upload these BSD programs to a BSD server?

Can one create ELF on Mac and upload to a linux server fairly easily.. (compared to Windows where it is harder to make Elf's)

L505

Marco van de Voort
to L
Show quoted text 7 lines
This is kind of not pascal related.. Can one use a Mac to compile BSD web programs and then upload these BSD programs to a BSD server? Can one create ELF on Mac and upload to a linux server fairly easily.. (compared to Windows where it is harder to make Elf's)

No. The trouble of crosscompiling to *nix doesn't lie in ELF, but in the way of shared linking that requires (in the current form) libraries on the host.