[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation on Darwin/MacOSX
From: |
Alexander Diemand |
Subject: |
Compilation on Darwin/MacOSX |
Date: |
Wed, 28 Jan 2004 16:59:45 +0100 |
User-agent: |
KMail/1.5.4 |
Dear All
I am trying to compile some prolog programs on a Mac running Darwin/OSX(10.3).
GNU Prolog version: 1.2.16
GCC 3.3 (Apple's version)
While examples in GNU Prolog work fine, programs with native interface to
other libraries fail.
Example:
ld: obj-Darwin/pgsql.pl.o has external relocation entries in non-writable
section (__TEXT,__text) for symbols:
_strdup
The symbol "_strdup" is defined in libc but the linker cannot find it (??!!).
Has someone already successfully compiled prolog code under Darwin/MacOSX?
Do I miss some compiler/linker flags?
Thanks for your hints
Alex.
- Compilation on Darwin/MacOSX,
Alexander Diemand <=