python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Cross compile error `ld: unknown option: --as-needed`
In Apple M1, when I compile my Rust code for Linux X86_64, I get an error ld: unknown option: --as-needed:
~/WORKDIR/rust/helloworld ⌚ 20:24:21
$ cargo build --target x86_64-unknown-linux-gnu
Compi...
Gamelife
Votes: 0
Answers: 2
Android ndk runtime - cannot locate symbol OPENSSL_init_ssl
I crosscompiled openssl 1.1.1g and i crosscompiled libcurl including the openssl.
Crosscompilation went trough without a problem, no linker errors on libcurl nothing.
Then i included these two openssl...
Lonko
Votes: 0
Answers: 1
Build static gdb 11.2 with cross compiler
Anyone success to build static gdb (not gdbserver) version 11.2 with cross compiler (arm64) ?
I'm not sure which flags (in CFLAGS and LDFLAGS) make gdb to build as static,
I tried to pass "-stati...
sivandahan
Votes: 0
Answers: 0
Why "GCC" ignores -fno-pic for assembly code
I'm writing an OS and I want to switch to long mode.
The problem is that my cross compiler (x86_64-elf-gcc) is generating position independent code even if I pass the -fno-pic option.
boot.S
/* boot.S...
R0M2
Votes: 0
Answers: 0