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

Bug#960643: gdc-10: manpage and gdc --help doesn't mention -fmain



Package: gdc-10
Version: 10.1.0-1
Severity: normal

It is common to provide unittests for module in the module, but without
main, so the module can be used as a library.

For this reasons, to test just one module one need to provide a dummy main function when linking.

-fmain does this autoamtically in gdc.

This feature is also available in dmd (-main) and in ldc2 (--main, not
mentioned in the manpage, but shows in ldc2 --help).

So the option in gdc is there, it is just not mentioned in gdc --help or
in manpage, making it hard to find.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdc-10 depends on:
ii  g++-10             10.1.0-1
ii  gcc-10-base        10.1.0-1
ii  libc6              2.30-8
ii  libgmp10           2:6.2.0+dfsg-4
ii  libgphobos-10-dev  10.1.0-1
ii  libisl22           0.22.1-1
ii  libmpc3            1.1.0-1
ii  libmpfr6           4.0.2-1
ii  libzstd1           1.4.4+dfsg-3
ii  zlib1g             1:1.2.11.dfsg-2

gdc-10 recommends no packages.

gdc-10 suggests no packages.

-- no debconf information


Reply to: