summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_driver_ctx.c
AgeCommit message (Collapse)AuthorFilesLines
2021-07-06Annual chores.midipix1-1/+1
2021-06-10driver: added --dumpmachine support.midipix1-5/+12
2021-06-09driver: modify the cfgnmachine string for accuracy (-dumpmachine or --cchost).midipix1-1/+1
2021-05-13driver: handle --version as only (repeated) argument more elegantly.midipix1-5/+8
2021-05-13driver: properly handle --help after --mode.midipix1-12/+27
2021-05-05driver: added explicit --sysroot support.midipix1-2/+44
2021-05-03driver api: slbt_get_flavor_settings(): initial implementation.midipix1-0/+20
2021-04-19driver: slbt_get_driver_ctx(): properly record the envp parameter.midipix1-2/+4
2021-04-15library: replace all uses of unlink() with unlinkat().midipix1-1/+5
2021-04-03driver: a heuristics-based -disable-shared now overrides --tag=disable-static.midipix1-0/+4
2021-04-03driver: --tag=disable-shared now overrides a heuristics-based -disable-static.midipix1-0/+3
2021-04-03driver: always respect the NO_COLOR envvar & SLBT_DRIVER_ANNOTATE_NEVER flag.midipix1-10/+28
2021-03-21driver: slbt_init_flavor_settings(): properly handle the -shrext argument.midipix1-3/+1
2020-12-20internals: error tracing: record the not-found path upon ENOENT as needed.midipix1-2/+13
2020-12-19driver: support -static-libtool-libs (currently as a no-op).midipix1-0/+7
2020-09-14driver: added -Xlinker support.midipix1-0/+9
2020-09-08driver, link mode: properly implement the -module semantics.midipix1-8/+14
Prior to this commit, -module was not respected when the specified output name happened to end with the platform's shared library suffix. In addition, the logic for generating shared libraries with -module in effect has been incomplete and partially also incorrect.
2020-06-25driver: slbt_init_host_params(): added missing initialization of ecode.midipix1-0/+1
2020-06-25driver: fix linkage of slbt_init_link_params().midipix1-1/+1
2019-10-17driver: resolve conflicting and/or incompatible command-line arguments.midipix1-8/+110
2019-10-16driver: --heuristics: respect explicit --disable-shared and/or -static.midipix1-3/+0
2019-06-29driver: added FC support.midipix1-0/+3
2019-06-18driver: set correct return value upon --help or --help=all.midipix1-3/+4
2019-06-12driver: added -XCClinker support.midipix1-0/+3
2019-05-07Do not refer to on-the-fly compound literals out of scope.midipix1-10/+12
2019-04-24driver: added F77 support.midipix1-0/+3
2019-02-19driver, compile & link mode: support arbitrary & known compiler wrappers.midipix1-6/+33
2018-11-10driver: host flavors: added suffixed suffixes support.midipix1-7/+7
2018-11-10driver: host flavors: whitespace meditation.midipix1-9/+39
2018-11-10driver: host flavors: midipix: ldso environment variable is LD_LIBRARY_PATH.midipix1-1/+1
2018-11-07driver: enhanced target-ar logic: accommodate legacy systems.midipix1-29/+35
On legacy systems, posix_spawnp() might return 0 even if the execvp() invocation in the child had failed with ENOENT. Replace posix_spawnp() with an internal, fork+execvp based internal function.
2018-11-07driver: slbt_init_host_params(): enhance the target-ar related logic.midipix1-0/+82
2018-10-21slbt_split_argv(): properly normalize --library-path=<path> arguments.midipix1-1/+1
2018-10-15driver: clone, normalize (-l,--library,-L,--library-path) the argument vector.midipix1-22/+129
2018-08-17driver: slbt_get_driver_ctx(): support stack-based argv.midipix1-1/+1
2018-08-13slbt_get_driver_ctx(): output error vector upon post-argv-parsing failures.midipix1-33/+32
2018-08-13driver: added --heuristics support.midipix1-0/+36
2018-08-04library: removed slbt_create_driver_ctx() [too much of a good thing].midipix1-35/+0
2018-07-16driver: if no --tag had been defined in compile mode, set --tag to CC.midipix1-0/+5
2018-07-16project: update the _XOPEN_SOURCE requirement to reflect use of openat(3).midipix1-4/+0
2018-07-11driver: added --tag=RC support.midipix1-0/+3
2018-07-11driver: added --windres support.midipix1-0/+32
2018-07-11slbt_init_host_params(): further eliminate compiler -dumpmachine invocations.midipix1-1/+4
2018-07-11slbt_init_host_params(): flavor detection: associate -windows- with mingw.midipix1-0/+2
2018-07-11slbt_split_argv(): use a compiler --target argument also as a tool argument.midipix1-0/+11
2018-07-11slbt_split_argv(): condition blocks: edited for style consistency.midipix1-5/+3
2018-07-11compile & link modes: accommodate conceptually challenged, PICky targets.midipix1-24/+20
2018-07-07implementation: use of AT_FDCWD: define _POSIX_C_SOURCE as needed.midipix1-0/+4
2018-07-06driver: struct slbt_fd_ctx: added .fdcwd and .fddst.midipix1-2/+10
2018-06-29driver: slbt_init_host_params(): do not set fnative when !fdumpmachine.midipix1-1/+0