| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | android: always link liblog | IllusionMan1212 | 2025-04-08 | 1 | -0/+1 |
| | | |||||
| * | fix: use the clang binary that's provided by the android NDK | IllusionMan1212 | 2025-04-07 | 1 | -3/+10 |
| | | | | | always link against libandroid because it's needed by the glue code. | ||||
| * | fix(android): pass `--sysroot` when compiling the android glue code | Hisham Aburaqibah | 2025-04-05 | 1 | -0/+5 |
| | | | | | | This prevents a `function-like macro '__GLIBC_USE' is not defined` compilation error from happening with newer NDK versions (I tried r28) | ||||
| * | fix cross compilation for linux_riscv | IllusionMan1212 | 2025-04-05 | 1 | -1/+1 |
| | | |||||
| * | fix: cross-compilation for android on linux | IllusionMan1212 | 2025-04-05 | 1 | -1/+2 |
| | | | | | | | | add `-nodefaultlibs` when cross-linking for android to prevent clang from linking with libgcc check build mode first before calling `init_android_values` to prevent printing a message that tells the user to set `-android-keystore` if its not set and build mode is exe | ||||
| * | Merge pull request #4970 from odin-lang/bill/android-subtarget | gingerBill | 2025-03-28 | 1 | -44/+156 |
| |\ | | | | | Very Very Rudimentary Support for Android | ||||
| | * | Begin work on `odin package-android` command | gingerBill | 2025-03-26 | 1 | -146/+0 |
| | | | |||||
| | * | Improve bodge for android execute build | gingerBill | 2025-03-26 | 1 | -3/+5 |
| | | | |||||
| | * | Really bodgy android packing system for `odin build` | gingerBill | 2025-03-26 | 1 | -1/+147 |
| | | | |||||
| | * | Remove `_PATH` on android environment variables | gingerBill | 2025-03-26 | 1 | -14/+14 |
| | | | |||||
| | * | Migrate `ODIN_ANDROID_*` constants to `build_settings.cpp`; ↵ | gingerBill | 2025-03-26 | 1 | -36/+6 |
| | | | | | | | | | `-minimum-os-version:<int>` for `-subtarget:android` | ||||
| | * | Add `-show-more-timings` for Android stuff | gingerBill | 2025-03-26 | 1 | -0/+9 |
| | | | |||||
| | * | Very very rudimentary support for `-target:linux_arm64 -subtarget:android` | gingerBill | 2025-03-26 | 1 | -10/+157 |
| | | | |||||
| | * | Make things rely less on `#if` guards | gingerBill | 2025-03-26 | 1 | -33/+17 |
| | | | |||||
| * | | Fix linker invocation on OpenBSD. | Dave Voutila | 2025-03-27 | 1 | -0/+7 |
| |/ | | | | | | | | | | | Firstly, we need to explicitly request pthreads and also need to mind the fact ports (like SDL2) install in /usr/local/lib. Secondly, since OpenBSD 7.4 the system enforces indirect branch targets on hardware platforms that support it. Until the LLVM integration in Odin can be changed to emit proper branch targets (e.g. endbr64 on amd64), we need to request the linker make the resulting program opt-out of enforcement. | ||||
| * | Print frameworks first on Darwin targets | gingerBill | 2025-01-28 | 1 | -1/+23 |
| | | |||||
| * | Remove duplicates of .framework/.dynlib/.so in linker | gingerBill | 2025-01-22 | 1 | -1/+10 |
| | | |||||
| * | Add `-linker:<string>` to replace `-lld` and `-radlink` | gingerBill | 2024-11-14 | 1 | -8/+13 |
| | | |||||
| * | Add `-radlink` | gingerBill | 2024-11-14 | 1 | -20/+41 |
| | | |||||
| * | Revert further simplifiction | 0dminnimda | 2024-11-04 | 1 | -1/+1 |
| | | |||||
| * | Simplify further | 0dminnimda | 2024-11-04 | 1 | -1/+1 |
| | | |||||
| * | Simplify use of pie | 0dminnimda | 2024-11-04 | 1 | -20/+9 |
| | | |||||
| * | Add support for linking as pie | 0dminnimda | 2024-11-04 | 1 | -2/+22 |
| | | |||||
| * | quote the dsymutil argument | Laytan Laats | 2024-10-25 | 1 | -1/+1 |
| | | | | | Fixes #4417 | ||||
| * | support the rpath changes on macos | Laytan Laats | 2024-09-05 | 1 | -6/+6 |
| | | |||||
| * | add -no-rpath | Laytan | 2024-09-04 | 1 | -3/+5 |
| | | |||||
| * | set -rpath to \$ORIGIN and expect libraries next to executable just like Windows | Laytan | 2024-09-04 | 1 | -6/+8 |
| | | |||||
| * | add support for linux_riscv64 and freestanding_riscv64 | Laytan | 2024-08-20 | 1 | -8/+21 |
| | | |||||
| * | Allow precompiled resources with -resource:foo.res | Jeroen van Rijn | 2024-07-10 | 1 | -8/+3 |
| | | | | | And add them to the magic new feature. | ||||
| * | Allow using precompiled .res file. | Jeroen van Rijn | 2024-07-10 | 1 | -20/+25 |
| | | |||||
| * | #3892 - Use temporary directory for asm file generation | gingerBill | 2024-07-09 | 1 | -2/+31 |
| | | |||||
| * | wasm: add foreign import and linking of wasm object files | Laytan Laats | 2024-07-02 | 1 | -0/+14 |
| | | |||||
| * | Fix #3819 | gingerBill | 2024-06-28 | 1 | -2/+16 |
| | | |||||
| * | Allow `ODIN_CLANG_PATH=clang-path` overrides | Jeroen van Rijn | 2024-06-27 | 1 | -1/+8 |
| | | | | | | | Link using `clang`, unless overridden by `ODIN_CLANG_PATH` environment variable. Fixes #3783 | ||||
| * | Fix `rc.exe` bug with double-quoted `.res` path. | Jeroen van Rijn | 2024-06-16 | 1 | -2/+6 |
| | | |||||
| * | orca windows | laytan | 2024-06-05 | 1 | -6/+4 |
| | | |||||
| * | improve orca target | Laytan Laats | 2024-06-05 | 1 | -10/+26 |
| | | |||||
| * | Add experimental target `orca_wasm32` | gingerBill | 2024-05-30 | 1 | -4/+16 |
| | | |||||
| * | Reimplement `-build-mode:static`/`-build-mode:lib` | gingerBill | 2024-05-16 | 1 | -7/+24 |
| | | |||||
| * | Merge pull request #3369 from joakin/fix-dynamic-library-from-vendor-on-linux | gingerBill | 2024-05-03 | 1 | -1/+1 |
| |\ | | | | | Fix vendor dynamic libraries not working on Linux | ||||
| | * | Recognize dynamic library names like libraylib.so.5.0.0 | joakin | 2024-04-19 | 1 | -1/+1 |
| | | | |||||
| * | | Fix minor bug | gingerBill | 2024-04-26 | 1 | -1/+1 |
| |/ | |||||
| * | fix nasm check | Laytan Laats | 2024-04-08 | 1 | -1/+1 |
| | | |||||
| * | Remove consecutive linking libraries | gingerBill | 2024-04-04 | 1 | -1/+13 |
| | | |||||
| * | Default to "smart" linker behaviour; Add `-min-link-libs` to use minimize ↵ | gingerBill | 2024-04-04 | 1 | -33/+27 |
| | | | | | link libs if wanted | ||||
| * | darwin: fix linker warning when building dynamic library | Laytan Laats | 2024-03-26 | 1 | -2/+4 |
| | | | | | | Trying to fix all linker warnings that macOS comes up with, when building a dynamic library it currently emits `ld: warning: ignoring -e, not used for output type` | ||||
| * | darwin: be less annoying about "incompatible" library versions | Laytan Laats | 2024-03-25 | 1 | -1/+4 |
| | | | | | | | | | | | | | | After #3316 we set a default minimum version, now this will warn if you link with a library that is targeting later versions. This might be a bit annoying, especially when the user hasn't actually given Odin a minimum target. So this PR makes these warnings only show when you explicitly give a target version (afaik that is the only thing that -mmacosx-min-version actually does for us because we don't use it to compile anything, just to link). | ||||
| * | darwin: fix ld warnings and set minimum os version | Laytan Laats | 2024-03-23 | 1 | -2/+3 |
| | | |||||
| * | linker improvements | Laytan Laats | 2024-03-19 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `path_to_fullpath` did different things on Windows&Unix, an attempt to bring them closer together was made here. This was prompted by the compiler completely ignoring `foreign import "foo.dylib"` when `foo.dylib` does not exist (because `path_to_fullpath` returns an empty string). Causing just unresolved symbol errors, when on Windows it would pass along the path to the linker and actually say it doesn't exist, which is now also the case for Unix. This also fixes some checker errors that relied on the Windows behaviour, for example: `Error: File name, , cannot be as a library name as it is not a valid identifier`. Made `-no-crt` require either `-default-to-nil-allocator` or `-default-to-panic-allocator` on Unix, the current default allocators rely on libc and this was not obvious and would immediately bring up unresolved symbol errors for the linked memory management functions, or just link with libc anyways because it was foreign imported. Added a suggestion to install `nasm` with the user's package manager when assembling using `nasm` fails on Unix, I saw some confusion about it in the Discord. Ignore explicit foreign imports of libc. It is already linked in later on in the linking process and would otherwise (at least on macOS) cause linker warnings for duplicate libraries. This also makes it so when using `-no-crt` and importing something that requires libc, linker errors are given (like I would expect), instead of silently still linking with libc because it was foreign imported. | ||||
| * | Merge pull request #3230 from avanspector/haiku | gingerBill | 2024-03-08 | 1 | -2/+2 |
| |\ | | | | | Add Haiku OS support | ||||