Thread overview
GDC on CYGWIN available
Jun 06, 2023
jicman
Jun 07, 2023
jicman
Jun 07, 2023
Ferhat Kurtulmuş
Aug 22, 2023
jicman
Aug 22, 2023
Ferhat Kurtulmuş
June 06, 2023

Greetings!

I was very happy to see GDC available on cygwin, but, the list said, "...and without a working runtime the next major release of gcc will again have to drop it as it would no longer bootstrap." Has a decision being made of not supporting cygwin? Thanks.

josé

June 07, 2023

On Tuesday, 6 June 2023 at 18:55:31 UTC, jicman wrote:

>

Greetings!

I was very happy to see GDC available on cygwin, but, the list said, "...and without a working runtime the next major release of gcc will again have to drop it as it would no longer bootstrap." Has a decision being made of not supporting cygwin? Thanks.

josé

Is anyone on this forum, or is everyone on vacation? :-)

June 07, 2023

On Wednesday, 7 June 2023 at 17:47:06 UTC, jicman wrote:

>

On Tuesday, 6 June 2023 at 18:55:31 UTC, jicman wrote:

>

Greetings!

I was very happy to see GDC available on cygwin, but, the list said, "...and without a working runtime the next major release of gcc will again have to drop it as it would no longer bootstrap." Has a decision being made of not supporting cygwin? Thanks.

josé

Is anyone on this forum, or is everyone on vacation? :-)

I ve been waiting for an answer for this question too. GDC has lack of windows support for ages.

August 22, 2023

On Wednesday, 7 June 2023 at 18:04:43 UTC, Ferhat Kurtulmuş wrote:

>

I ve been waiting for an answer for this question too. GDC has lack of windows support for ages.

Ok, maybe we can get this fixed, somehow. :-)

I installed GDC from cygwin's setup tool. If I run,

$ gdc -v
Using built-in specs.
COLLECT_GCC=gdc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/11/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-11.4.0/configure --srcdir=/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-11.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --with-gcc-major-version-only --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,d,fortran,lto,objc,obj-c++,jit --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --disable-multilib --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (GCC)

you can see that it's install, but when I try to compile this very basic HelloWorld.d program,

$ cat HelloWorld.d
import std.stdio;
void main()
{
  writeln("Hello world");
}

I get these error:

$ gdc HelloWorld.d
d21: error: cannot find source code for runtime library file 'object.d'
d21: note: dmd might not be correctly installed. Run 'dmd -man' for installation instructions.
d21: note: config file: not found

What do I need to do to get gdc to run in cygwin?

Is there a list of instructions on how to get this to work in any place?

It should be simple by copying certain files to the cygwin file structure. Thanks.

August 22, 2023

On Tuesday, 22 August 2023 at 15:25:25 UTC, jicman wrote:

>

On Wednesday, 7 June 2023 at 18:04:43 UTC, Ferhat Kurtulmuş wrote:

>

[...]

Ok, maybe we can get this fixed, somehow. :-)

[...]

Not sure but there should be a config file similar to LDC's ldc2.conf but for GDC.

February 07

On Tuesday, 22 August 2023 at 15:25:25 UTC, jicman wrote:

>

On Wednesday, 7 June 2023 at 18:04:43 UTC, Ferhat Kurtulmuş wrote:

>

[...]

Ok, maybe we can get this fixed, somehow. :-)

[...]

Any progress on getting cygwin GDC to work?

Tim S.