Talk About Network

Google





Mac > Mac Programmer Tools > Re: compiling g...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 597 of 637
Post > Topic >>

Re: compiling gcc 4.2.0, stage 3, /usr/bin/libtool: fatal error in ld64

by Dave Seaman <dseaman@[EMAIL PROTECTED] > Jun 1, 2007 at 11:11 PM

On Fri, 01 Jun 2007 15:05:31 -0700, dan wrote:
> Hi Dave,

> Thanks for your reply, and particularly the suggestion that i check
> out mac****ts, which i intend to do.

> Now, i've used fink on a prior mac, and the fink people have indeed
> made a huge variety of software available for pretty easy use on
> the mac.

> But i have two reasons to see how far i can get without using fink
> this time around:

> (1) The fink packages require admin access to install, so they change
> the global nature of the machine.   It is not possible for each user
> of
> the machine to have a different view of /sw (the root of most of
> fink).
> I understand that the authors may have been more or less forced into
> this kind of design, at least partially, because of the nature of x-
> windows,
> for example.  And installing everything in /sw makes the framework
> much simpler, and thus much more robust.  So, they have good reasons
> for doing it the way the way they do, but i want my installation
> of gcc to be entirely unprivileged.

> (2) gcc has an elaborate configuration process that accommodates a
> vast range of hardware and operating systems.  It should be possible
> to build anywhere, with the configuration phase catching any
> potential problems.  Now the reality may not be so good, but i
> would at least like to find out how far it is from the ideal.

> Thanks again for your mail and advice, and if you are anybody
> else has any further suggestions, i'm all ears.

Your comments about fink also apply to mac****ts, which installs in
/opt/local.  I haven't used it enough to know whether that is
configurable.

FWIW, here's how the fink version of gcc-4.2.0 was configured on a Mac
Pro.  Notice that there are some dependencies on other fink-installed
products, which you will presumably want to replace with your own
installations.

$ gcc-4 -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: ../gcc-4.2.0/configure --prefix=/sw
--prefix=/sw/lib/gcc4.2 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-arch=nocona
--with-tune=generic --host=i686-apple-darwin8 --with-gmp=/sw
--with-libiconv-prefix=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
Thread model: posix
gcc version 4.2.0



-- 
Dave Seaman
Oral Arguments in Mumia Abu-Jamal Case heard May 17
U.S. Court of Appeals, Third Circuit
<http://www.abu-jamal-news.com/>
 




 4 Posts in Topic:
compiling gcc 4.2.0, stage 3, /usr/bin/libtool: fatal error in l
dan <hitt@[EMAIL PROTE  2007-05-31 23:01:11 
Re: compiling gcc 4.2.0, stage 3, /usr/bin/libtool: fatal error
Dave Seaman <dseaman@[  2007-06-01 12:15:11 
Re: compiling gcc 4.2.0, stage 3, /usr/bin/libtool: fatal error
dan <hitt@[EMAIL PROTE  2007-06-01 15:05:31 
Re: compiling gcc 4.2.0, stage 3, /usr/bin/libtool: fatal error
Dave Seaman <dseaman@[  2007-06-01 23:11:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:16:56 PST 2009.