[fpc-pascal] [OT] fpcup+FreeBSD/PC-BSD: getting linux compat binutils/libs for cross compiling

Reinier Olislagers reinierolislagers at gmail.com
Sun Mar 17 09:59:12 CET 2013


Hi all,

Looked into getting an fpcup FreeBSD x64=>Linux x86 cross compiler
module going on PC-BSD 9/FreeBSD 9.1.

Although the /compat/linux library is there, it misses binutils like as,
ld etc and I presume it misses a lot of libraries, too.

Tried installing
/usr/ports/emulators/linux_dist-gentoo-stage3
which failed: got an error saying it was broken.

My questions:
1. An alternative could be to get Linux binaries/libs from a Linux
install and put them in /compat/linux... Is this useful? Which binaries
should I use - or IOW what Linux is FreeBSD trying to emulate - RHEL 6?
2. Is there another port that I could install/an easier way of doing things?

Thanks,
Reinier



More information about the fpc-pascal mailing list