[fpc-pascal] [OT] fpcup+FreeBSD/PC-BSD: getting linux compat binutils/libs for cross compiling
Reinier Olislagers
reinierolislagers at gmail.com
Sun Mar 17 20:56:56 CET 2013
On 17-3-2013 13:38, Marco van de Voort wrote:
> In our previous episode, Reinier Olislagers said:
>> 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?
>
> I always considered compat/ a run-its-binaries environment only, not a
> development-for-it environment.
>
> What is in compat/ differs with major version, and I haven't kept up. As
> long as adobe reader works with it, it was always fine with me.
>
> I've never tried this the proper way. I always used the scripts that I later
> put in (fpcbuild/)install/cross to build myself, and then manually fetched
> libraries from whatever target.
Ok, thanks, I suppose that's the easier way.
More information about the fpc-pascal
mailing list