From owner-freebsd-ports Wed Sep 13 18:32:33 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 D86DE37B422 for ; Wed, 13 Sep 2000 18:32:30 -0700 (PDT) Received: from hermes.tue.nl (hermes.tue.nl [131.155.2.46]) by mailhost.tue.nl (8.11.0/8.11.0) with ESMTP id e8E1WTN22585 for ; Thu, 14 Sep 2000 03:32:29 +0200 (MDT) Received: from deathstar (n192.dial.tue.nl [131.155.209.191]) by hermes.tue.nl (Postfix) with ESMTP id B74132E802 for ; Thu, 14 Sep 2000 03:32:28 +0200 (CEST) From: "Marco van de Voort" To: freebsd-ports@freebsd.org Date: Thu, 14 Sep 2000 03:33:24 +0100 Subject: (Fwd) Re: Freepascal X-mailer: Pegasus Mail for Win32 (v3.12b) Message-Id: <20000914013228.B74132E802@hermes.tue.nl> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Look for a preprocessor symbol called __FreeBSD__ :-) > There are also specific variants of what the symbol > contains if you look at /usr/include header files. Both the external preprocessor and header files need extra files (gcc and cpp) to be present. I'm not using gcc, so that is why I made that reservation about the binutils. Something like a pure makefile system solution (or filesystem check /proc ?) would even be better. Hmm, maybe this doesn't matter on FreeBSD, since IIRC gcc is part of base, and is always installed? Marco van de Voort (MarcoV@Stack.nl or marco@freepascal.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message