problem with example from Technical Note 2137 (Universal Binaries and Autoconf)
problem with example from Technical Note 2137 (Universal Binaries and Autoconf)
- Subject: problem with example from Technical Note 2137 (Universal Binaries and Autoconf)
- From: "Brant Sears" <email@hidden>
- Date: Mon, 13 Feb 2006 16:25:17 -0500
- Thread-topic: problem with example from Technical Note 2137 (Universal Binaries and Autoconf)
I am trying to work through the example shown in Technical Note 2137. My system is a PowerPC (G5) system with XCode 2.2 installed. I have used gcc_select to make sure that GCC 4 is selected.
I downloaded the hello world sample from the Free Software Foundation. I can configure and build it normally, but I cannot use this example from the technical note:
env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" \
./configure --prefix=${HOME}/Hello --disable-dependency-tracking
when I try to use this, the message I get is:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
Instead the last line should say:
checking for C compiler default output... a.out
What is going on here? Has anyone else encountered this issue?
Thanks.
Brant Sears
<<winmail.dat>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden