gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Compiling under Mac OS X


From: Camm Maguire
Subject: Re: [Gcl-devel] Compiling under Mac OS X
Date: 12 Jul 2004 15:08:43 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Please change

>          -e "s/@LI-CC@/\"gcc -I/sw/include -c `echo -I/sw/include -Wall 
> -DVOL=volatile -fsigned-char -pipe  | sed -e
> 's:-g::g'`\"/1" \

in unixport/makefile to

>          -e "address@hidden@#\"gcc -I/sw/include -c `echo -I/sw/include -Wall 
> -DVOL=volatile -fsigned-char -pipe  | sed -e
> 's:-g::g'`\"#1" \


This is the craziest gcc command line I've ever seen :-).  Is this
what is in your $CC environment variable?

Typically, the current design expects no slashes in $CC, i.e. include
paths are set via the C_INCLUDE_PATH environment variable, and the
path to gcc itself is not set, as the binary might be moved to another
machine at some point.  The above change, however, has now been added
to the errata page and will appear in any future release.

BTW, hope you have seen

http://lists.gnu.org/archive/html/gcl-devel/2004-04/msg00062.html

and related threads.

Am cc'ing our macosx expert.

Take care,

Brent Edwards <address@hidden> writes:

> Dear gcl-devel,
> 
> I'm having problems compiling under Mac OS X.  It stops in the middle of the 
> build.  Can you help me, let me know what
> I need to do?
> 
> 
> VERY SHORT DESCRIPTION:
> 
>  >tar xzvf gcl-2.6.2.tar.gz
>  >cd gcl-2.6.2
>  >./configure >& configure.out
>  >make >& make.out
> 
> The error that stops the compilation:
> 
> cat init_pre_gcl.lsp.tmp | sed \
>          -e "address@hidden@#(`cat ../majvers`.`cat ../minvers`) `date`#1" \
>          -e "address@hidden@#`cat ../minvers | cut -f2 -d.`#1" \
>          -e "address@hidden@#`cat ../minvers | cut -f1 -d.`#1" \
>          -e "address@hidden@#`cat ../majvers`#1" \
>          -e "s/@LI-CC@/\"gcc -I/sw/include -c `echo -I/sw/include -Wall 
> -DVOL=volatile -fsigned-char -pipe  | sed -e
> 's:-g::g'`\"/1" \
>          -e "address@hidden@#\"gcc -I/sw/include -o \"#1" \
>          -e "address@hidden@#\"   -lpre_gcl `echo -L/sw/lib  -lintl  -lm
> /Users/chipuni/Source/gcl-2.6.2/binutils/bfd/libbfd.a 
> /Users/chipuni/Source/gcl-2.6.2/binutils/libiberty/libiberty.a
> -lreadline -lncurses | sed -e 's/-lncurses/ /'` /sw/lib/libintl.dylib -lc 
> -lgclp \"#1" \
>          -e "address@hidden@#\"-O3 -fomit-frame-pointer\"#1" \
>          -e "address@hidden@#\"-O\"#1" \
>          -e "address@hidden@#\"init_pre_gcl.lsp\"#1" >init_pre_gcl.lsp
> sed: -e expression #5, char 19: unknown option to `s'
> make[1]: *** [init_pre_gcl.lsp] Error 1
> rm init_pre_gcl.lsp raw_pre_gcl
> make: *** [unixport/saved_pre_gcl] Error 2
> 
> 
> System information:
>  >uname -a
> Darwin Pherret.local 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 
> PDT 2004;
> root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC  Power Macintosh powerpc
>  >gcc --version
> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
> Copyright (C) 2002 Free Software Foundation, Inc.
>  >sed --version
> GNU sed version 4.1
> Copyright (C) 2003 Free Software Foundation, Inc.
> 
> NOTE: I use fink to install later versions of software, including sed.  The 
> default Apple sed exists in "/usr/bin/sed".
> The above version of sed exists in "/sw/bin/sed".  This problem existed 
> before I installed the GNU version of sed, and
> remains after I installed it.
> 
> 
> Much more information:
> 
> I have posted config.log, config.status, configure.out, (from the above 
> configure) and make.out (from the above
> configure) at "http://edwards.orcas.net/~chipuni/gcl/";.  I have also tar'd 
> and gzipped the whole directory of gcl-2.6.2
> and placed it in that folder, if you really want it.
> 
> Thank you for your time!
> 
> -- Brent
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]