bug-wget
[Top][All Lists]
Advanced

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

Wget2 cross-compile on iOS arm64


From: Jeffrey Walton
Subject: Wget2 cross-compile on iOS arm64
Date: Sun, 21 Mar 2021 06:41:04 -0400

Hi Everyone/Tim,

I've been testing iOS cross-compiles. It looks like Wget2 is having
trouble with arm64:

$ echo $CPPFLAGS
-DNDEBUG -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk

$ echo $CFLAGS
-Wall -g2 -O3 -fPIC -arch arm64 -miphoneos-version-min=6 --sysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk

$ echo $CXXFLAGS
-Wall -g2 -O3 -fPIC -arch arm64 -miphoneos-version-min=6
-stdlib=libc++ --sysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk

$ echo $LDFLAGS

$ command -v cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cpp

$ cat config.log
...
configure:6438: checking how to run the C preprocessor
configure:6508: result: cpp
configure:6528: cpp -DNDEBUG -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk
conftest.c
clang: error: no input files
configure:6528: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "wget2"
| #define PACKAGE_TARNAME "wget2"
| #define PACKAGE_VERSION "1.99.2"
| #define PACKAGE_STRING "wget2 1.99.2"
| #define PACKAGE_BUGREPORT "bug-wget@gnu.org"
| #define PACKAGE_URL "https://savannah.gnu.org/projects/wget";
| #define PACKAGE "wget2"
| #define VERSION "1.99.2"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:6528: cpp -DNDEBUG -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk
conftest.c
clang: error: no input files
configure:6528: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "wget2"
| #define PACKAGE_TARNAME "wget2"
| #define PACKAGE_VERSION "1.99.2"
| #define PACKAGE_STRING "wget2 1.99.2"
| #define PACKAGE_BUGREPORT "bug-wget@gnu.org"
| #define PACKAGE_URL "https://savannah.gnu.org/projects/wget";
| #define PACKAGE "wget2"
| #define VERSION "1.99.2"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:6558: error: in `/Users/jwalton/wget2-1.99.2':
configure:6560: error: C preprocessor "cpp" fails sanity check
See `config.log' for more details

Jeff

Attachment: config.log.zip
Description: Zip archive


reply via email to

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