[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X
From: |
James Youngman |
Subject: |
Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X |
Date: |
Mon, 8 Nov 2004 13:29:42 +0000 |
User-agent: |
Mutt/1.3.28i |
On Mon, Nov 08, 2004 at 12:10:53PM +0000, John Lowe wrote:
> In message <85lldcehhd.fsf@pi.meyering.net>, Jim Meyering
> <jim@meyering.net> writes
>
> >It looks like you're using an apple-modified version of gcc.
> >What does `gcc -v' print? And `uname -a'?
> >
> >If you can compile with a stock version of gcc -- or another C
> >compiler altogether -- you'll probably have better luck.
> >
> >Please post the output of running ./configure.
>
> I think you're right about gcc - I'll have to see what I can find.
> ========================================================================
> gcc -v:
>
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
> Thread model: posix
> Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
> (prerelease)
You can switch to GCC 2.95 instead, as below :-
Mac OS X
--------
According to Brad Crittenden, GNU CSSC fails to compile under Mac OS X
with the default compiler (GCC 3.1). However, it does work with the
alternate compiler, GCC 2.95. To switch compilers, execute the
command "sudo gcc_select 2". To switch back, issue the command "sudo
gcc_select 3". You may also find it helpful to read the Porting Guide
at
<http://developer.apple.com/techpubs/macosx/Darwin/GettingStarted/PortingUNIX/intro/index.html>.
If you attempt to compile with GCC 3.1. you may see the following error :-
g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c file.cc
filelock.h:50: storage size of `_ZTI9file_lock' isn't known
I don't know how to fix this error in any other way than to use GCC
version 2.95 instead, as described above.
- Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, Jim Meyering, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, Jim Meyering, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X,
James Youngman <=
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/08
- Message not available
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/08
- Message not available
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, Paul Eggert, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, John Lowe, 2004/11/09
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, Jim Meyering, 2004/11/08
- Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X, Jim Meyering, 2004/11/08