From owner-freebsd-ports Wed Apr 12 5: 4:44 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mailhost.tue.nl (mailhost.tue.nl [131.155.2.5]) by hub.freebsd.org (Postfix) with ESMTP id 9A5AE37B89A for ; Wed, 12 Apr 2000 05:04:40 -0700 (PDT) (envelope-from marcov@toad.stack.nl) Received: from hermes.tue.nl [131.155.2.46] by mailhost.tue.nl (8.9.3) for id OAA00209 (ESMTP); Wed, 12 Apr 2000 14:04:38 +0200 (MDT) Received: from deathstar (n10.dial.tue.nl [131.155.209.9]) by hermes.tue.nl (Postfix) with ESMTP id 242472E802 for ; Wed, 12 Apr 2000 14:04:37 +0200 (CEST) From: "Marco van de Voort" To: ports@freebsd.org Date: Wed, 12 Apr 2000 14:03:59 +0100 Subject: ported application X-mailer: Pegasus Mail for Win32 (v3.12b) Message-Id: <20000412120437.242472E802@hermes.tue.nl> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I ported an application, and it is starting to work on FreeBSD, and I now joined ports to create a port if that is desirable. The app is the FreePascal compiler (www.freepascal.org), which is written in Pascal and compiled by itself, and doesn't basically use any C source (including header files and libc) This also means that relative small changes in the FreeBSD architecture don't affect the (core) binaries (it is statically linked and bin works on 3.x and 4) People in the freebsd-hackers told me that such (non gcc compiled or compiled by gcc descendants) projects already exist? Can somebody give me some examples where I can look at? Also the project itself is fragmented and quite complex. (we use a binary installer on most platforms to sort it out) 1 The core (the compiler and corelibs itself) are dependant on nothing except FreeBSD version (read ELF and syscalls like in 3.x/4.x) 1b some parts not needed for bootstrapping need libc. (IPC 2 The next layer (basic, but not needed to bootstrap) can use libc, and even ncurses. The TUI IDE, which is in development, uses these. The IDE also uses a large (4-10 MB depending on debug info) libgdb.a. (for the internal debugger), which is a modified (lib)gdb 4.18 3 A classes library. Uses zlib (but can revert to an internal, pascal zlib if not present). 4 The next layer is the rest. Interface stuff like QT, GTK, xlib, MESA based FORMS, OPENGL,IBASE,PostGreSQL, MySQL, and native GUI widget sets on top of them. Separately are also docs in pdf TeX. (PDF/HTML precompiled available) How does one implement such port? A single port entry would be quite large (5-9 MB (depends on inclusion of non BSD stuff for crosscompiling, and increasing daily ). Several ports hard to maintain. Free Pascal is also going through rather fast development, and maybe two ports could be made (last release and current ( CVS source snapshot in zip files are generated daily, and are simply compiled by the last release compiler) Marco van de Voort (MarcoV@Stack.nl) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message