Comments (4)
Can you please give the configure line you used for freetype?
And extract the failure line from configure.log?
Do you have "-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" in your CFLAGS and LDFLAGS?
Can you also give the output of "ls -l /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib"
from xcodelegacy.
./configure --host=powerpc-apple-darwin --without-bzip2 --without-harfbuzz --with-png --with-zlib --with-old-mac-fonts
I have "-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.5.sdk" in my CFLAGS and LDFLAGS and export MACOSX_DEPLOYMENT_TARGET=10.4 as well. (same error with the 10.4u.sdk)
Dominus$ ls -l /developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib
-rwxr-xr-x 1 root wheel 41500 20 Apr 2007 /developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib*
Dominus$ ls -l /developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.4.dylib
-rw-r--r-- 1 root wheel 33256 19 Feb 2008 /developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.4.dylib
The error happens in builds/unix/configure of freetype:
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of native executables" >&5
$as_echo_n "checking for suffix of native executables... " >&6; }
rm -f a.* b.* a_out.exe conftest.*
echo > conftest.c "int main() { return 0;}"
${CC_BUILD} conftest.c || as_fn_error $? "native C compiler is not working" "$LINENO" 5
Error:
checking for suffix of native executables... ld: library not found for -lgcc_s.10.4
collect2: ld returned 1 exit status
configure: error: native C compiler is not working
make: *** [setup] Error 1
I don't know why it looks for the dylib in /usr/lib/ but there Xcode 7 replaced those dylibs with tld files. If I copy the two dylibs from the 10.6 or 10.5 sdk "back" into /usr/local/lib everything works.
So probably my biggest problem is why it looks in /usr/lib instead of /developer/SDKs/MacOSX.10.5.sdk/usr/lib...
from xcodelegacy.
the problem is perhaps with freetype's configure, which probably doesn't use the right flags.
did you try compiling that simple program manually:
int main() { return 0;}
can you send the relevant portion of config.log?
from xcodelegacy.
closing, probably a freetype compilation issue
from xcodelegacy.
Related Issues (20)
- Extract 10.12 SDK from Xcode 8.3.3 (to do before release of macOS 10.13/Xcode 9) HOT 13
- Latest 2.1 missing uninstall for 10.12 SDK
- Feedback HOT 2
- Bad Info.plist created for Xcode 10.0 HOT 8
- Compiler + Xcode 10.1 Error HOT 4
- Option to provide the app path HOT 2
- libLTO detect under Xcode 9
- "No value to remove at key path MinimumSDKVersion"
- "ld: warning: bad symbol action" HOT 2
- Unable to extract 10.12SDK from Xcode8.3.3.xip HOT 3
- Can't compile after running xcode legacy (XCode 10 or 11) HOT 1
- Instructions no longer work on macOS 11.1: "mkdir: /Developer: Read-only file system" HOT 4
- Is it possible to add a Xcode 3.2 from 10.6 PPC? HOT 1
- PPC architecture and old SDKs are unavailable in Xcode 12.4 GUI HOT 2
- as and ld Intel-only in ppc and ppc64 libexec? HOT 2
- setting `MACOSX_DEPLOYMENT_TARGET` does it require the sdk?
- Found XCode >= 4.3 ... Error could not find Xcode >= 4.3 in /Applications, cannot install HOT 1
- Useful tips for ppc and i386 in XCode12 and others
- MacOSX10.5.sdk libgcc_s.10.5.dylib fix breaks linking PowerPC64 executables. HOT 1
- Can't find Xcode.app but it is in the folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodelegacy.