[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: MacOS X status
From: |
Lars Rosengreen |
Subject: |
[Gcl-devel] Re: MacOS X status |
Date: |
Fri, 27 Feb 2004 00:20:50 -0800 |
Hi Aurelien and Camm,
Thanks for getting GCL working on OS X.
Sorry for being so dense, but what options should I be passing to
configure now to build from cvs head with bfd ? If I do this:
kinkajou:~/gcl lars$ ./configure
kinkajou:~/gcl lars$ make
I get this:
cd binutils/bfd && make
make all-recursive
Making all in doc
make[3]: Nothing to be done for `all'.
rm -f bfd-tmp.h
cp bfd-in3.h bfd-tmp.h
/bin/sh ./../move-if-change bfd-tmp.h bfd.h
rm -f bfd-tmp.h
touch stmp-bfd-h
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-D_GNU_SOURCE -I. -I. -I./../include -I./../intl -I../intl -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c archive.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I./../include
-I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-g -O2 -c archive.c -o archive.o
In file included from archive.c:131:
sysdep.h:135:21: libintl.h: No such file or directory
archive.c: In function `_bfd_write_archive_contents':
archive.c:1826: warning: implicit declaration of function `dgettext'
archive.c:1826: warning: passing arg 1 of pointer to function makes
pointer from integer without a cast
archive.c: In function `_bfd_archive_bsd_update_armap_timestamp':
archive.c:2093: warning: passing arg 1 of `perror' makes pointer from
integer without a cast
archive.c:2120: warning: passing arg 1 of `perror' makes pointer from
integer without a cast
make[3]: *** [archive.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [binutils/bfd/libbfd.a] Error 2
kinkajou:~/gcl lars$
just wondering! (dlopen build works fine for me).
All the best,
Lars.
On Feb 22, 2004, at 4:49 AM, Aurelien Chanudet wrote:
Hi,
In short, GCL and ACL2 are now working back again on Mac OS X Panther.
- BFD : I applied my patches to the local BFD tree, as Camm suggested,
carried out tests on a Debian machine (the only non OSX machine I
have) to make sure the modifications didn't break anything, and
haven't noticed any breakage. Using BFD is now what I would recommend
for MacOS X (--enable-locbfd). In order to add BFD support for MacOS
X, I had to modify sfaslbfd.c (see patch in the attached file). This
has previously been discussed here :
http://mail.gnu.org/archive/html/gcl-devel/2003-11/msg00108.htm.
- SGC : The recent changes to sgbc.c had broken compatibility with
MacOS X because a segmentation fault raises SIGBUS on MacOS X, whereas
it apparently raises SIGSEGV elsewhere. AFAICT, everything is now
working back again thanks to one of the attached patches.
- Additionally, I've modified configure.in in order to set appropriate
defaults for MacOS X and to detect DBEGIN properly.
Aurelien
<patches.tar.gz>