Sign in Join

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

Mailing lists / fpc-pascal / 2007-05

FreeBSD binary compatibility

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Francisco Reyes

I was trying out a couple of examples and figured I would try to see how portable the binaries were.

Compiled a trivial program in FreeBSD 6.2 Stable and copied it to a 4.9 machine. The binary worked.

Is that commontly the case? ie the binaries can be run accross different FreeBSD versions?

Marco van de Voort
to Francisco Reyes
Show quoted text 8 lines
I was trying out a couple of examples and figured I would try to see how portable the binaries were. Compiled a trivial program in FreeBSD 6.2 Stable and copied it to a 4.9 machine. The binary worked. Is that commontly the case? ie the binaries can be run accross different FreeBSD versions?

If you don't link to external libraries, and don't use some of the more varying subsystems of the kernel (like threads), then there is a fair chance.

No guarantees though.

Catalin Zamfir Alexandru
to Marco van de Voort

Ya, I mean if its an universal binary, it may as well run on any system, any version. And as BSDs versions are related with each others, as well as with Unix systems, why not?

Marco van de Voort wrote 17 lines
> I was trying out a couple of examples and figured I would try to see how > portable the binaries were. > > Compiled a trivial program in FreeBSD 6.2 Stable and copied it to a 4.9 > machine. The binary worked. > > Is that commontly the case? ie the binaries can be run accross different > FreeBSD versions? If you don't link to external libraries, and don't use some of the more varying subsystems of the kernel (like threads), then there is a fair chance. No guarantees though. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Jonas Maebe
to Catalin Zamfir Alexandru
Catalin Zamfir Alexandru wrote 5 lines
Ya, I mean if its an universal binary, it may as well run on any system, any version. And as BSDs versions are related with each others, as well as with Unix systems, why not?

Because library names and symbol names sometimes change between different FreeBSD versions.

Jonas