| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| | * | Improve Haiku support | avanspector | 2024-02-25 | 1 | -2/+2 |
| | | | |||||
| * | | Merge pull request #3069 from pcleavelin/master | gingerBill | 2024-03-06 | 1 | -1/+6 |
| |\ \ | |/ |/| | Respect `-lld` CLI arg on non-windows machines | ||||
| | * | Merge branch 'odin-lang:master' into master | Patrick Cleavelin | 2024-01-27 | 1 | -5/+15 |
| | |\ | |||||
| | * | | respect -lld CLI arg | Patrick Cleavelin | 2024-01-04 | 1 | -1/+6 |
| | | | | |||||
| * | | | fix -no-crt on Linux | Laytan | 2024-02-08 | 1 | -18/+14 |
| | |/ |/| | |||||
| * | | Expand -subsystem option on Windows | Jeroen van Rijn | 2024-01-18 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | W:\Odin>odin run sketch.odin -file -subsystem:foo Invalid -subsystem string, got oo. Expected one of: BOOT_APPLICATION, CONSOLE (default), EFI_APPLICATION, EFI_BOOT_SERVICE_DRIVER, EFI_ROM, EFI_RUNTIME_DRIVER, NATIVE, POSIX, WINDOWS (or WINDOW), WINDOWSCE We now also set the constant ODIN_WINDOWS_SUBSYSTEM, which is "" for non-Windows targets. | ||||
| * | | darwin: add library paths for default Homebrew and MacPorts locations | Laytan Laats | 2024-01-13 | 1 | -0/+11 |
| |/ | |||||
| * | darwin: actually honor no-crt by not linking with `-lSystem -lm` | Laytan Laats | 2024-01-02 | 1 | -3/+6 |
| | | |||||
| * | Fixed Typo / Added check for 1 | Platin21 | 2024-01-02 | 1 | -1/+1 |
| | | |||||
| * | Adds missing space | Platin21 | 2024-01-02 | 1 | -1/+1 |
| | | |||||
| * | Fixed git issue.. | Platin21 | 2024-01-02 | 1 | -0/+2 |
| | | |||||
| * | Adds new flag for linker to know if it should link the system library or not | Platin21 | 2024-01-02 | 1 | -1/+17 |
| | | |||||
| * | Removes macOS min version and supports default latest | Platin21 | 2024-01-02 | 1 | -4/+0 |
| | | |||||
| * | Fixing a pdb linker error when the path contains spaces | Thomas Louis | 2023-12-27 | 1 | -1/+1 |
| | | |||||
| * | -no-crt and assembly compilation on darwin | Laytan Laats | 2023-11-15 | 1 | -14/+28 |
| | | |||||