> Wolfe, Robert wrote: > > I would like to port FPC over to FreeBSD for Sparc as well if at all > > possible, however, with a lack of an existing FPC compiler for that > > platform, I was not sure how I would go about doing that. > > The compiler is only per architecture, so you only need to build a > freebsd rtl using for example a sparc-linux compiler, then build a > sparc-freebsd compiler using the freebsd RTL.
Yes. This pretty much boils down to: - checking all structures. - checking all syscalls against libc compiled (and then disassembled) tests,paying particular attention to the ones with 64-bit types. - Creating startup code, which can be easiest done by modifying the makefiles in /usr/src/lib/csu and below to compile with -O2 -S, compile and then strip libc initialisation and finalisation from the result. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal