Re: Using GtK

2021-08-23 Thread Ferhat Kurtulmuş via D.gnu
On Monday, 23 August 2021 at 20:21:13 UTC, Ruby The Roobster wrote: I have a very basic program that does ABSOLUTELY NOTHING. Here is the code: ```d import gtk.Main; import gtk.MainWindow; import gtk.Widget; void main() { } ``` I am using gdc version 10.3.0 on Ubuntu 20.04. Assuming the fil

Using GtK

2021-08-23 Thread Ruby The Roobster via D.gnu
I have a very basic program that does ABSOLUTELY NOTHING. Here is the code: ```d import gtk.Main; import gtk.MainWindow; import gtk.Widget; void main() { } ``` I am using gdc version 10.3.0 on Ubuntu 20.04. Assuming the file name is test.d, here is my command line: gdc -I/usr/include/gtkd-

undefined reference to `fiber_switchContext'

2021-08-23 Thread Mahdi via D.gnu
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/libgphobos.so: undefined reference to `fiber_switchContext' collect2: error: ld returned 1 exit status I have this problem after installing GDC 11. I installed gcc,g++ and gdc version 11 from unofficial repositories on Ubuntu 20.04.

d.gnu@puremagic.com

2021-08-23 Thread jfondren via D.gnu
On Wednesday, 18 August 2021 at 08:09:36 UTC, Iain Buclaw wrote: On Wednesday, 18 August 2021 at 07:08:09 UTC, Mahdi wrote: A helloworld program on the X86_64-pc-linux-gnu platform contains 40 lines of assembly code or on the ARM (aarch64-linux-gnu) platform only 34 lines of assembly code, b