On Wednesday, 27 February 2013 at 18:40:40 UTC, monarch_dodra
wrote:
On Wednesday, 27 February 2013 at 17:08:38 UTC, Alexandr
Druzhinin wrote:
27.02.2013 23:50, monarch_dodra пишет:
dmc seems to start choking when my font files start to reach
about 15 Mo.
I suppose there's a switch somewher
Also C runtime can be statically compiled with your c/dll
library. You just need copy c dll and your d exe without
additional dependencies.
C dll can be prepared by visual c.
With Dmd you can use dmc directly.
Second way is: you can compile your code as dll library and then
create import library with implib utility for win32, for win64 a
import library can be used directly.
First way works good, but I prefer second one.
Both approaches for win32 and win64 works go
On Wednesday, 27 February 2013 at 17:08:38 UTC, Alexandr
Druzhinin wrote:
27.02.2013 23:50, monarch_dodra пишет:
dmc seems to start choking when my font files start to reach
about 15 Mo.
I suppose there's a switch somewhere, but I've never used dmc
before, so
all the switches are unknown to
27.02.2013 23:50, monarch_dodra пишет:
dmc seems to start choking when my font files start to reach about 15 Mo.
I suppose there's a switch somewhere, but I've never used dmc before, so
all the switches are unknown to me. I guess I'll just have to learn
(anybody know?).
If worst comes to worst
27.02.2013 23:12, monarch_dodra пишет:
I can't seem to get the executable to link correctly.
I'm using gcc and dmd on windows.
I'm building foo.c with:
gcc -c foo.c -o foo.obj
Then I build my exe with:
dmd foo.obj main.d
But I get:
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital
On Wednesday, 27 February 2013 at 16:37:06 UTC, Alexandr
Druzhinin wrote:
27.02.2013 23:12, monarch_dodra пишет:
I can't seem to get the executable to link correctly.
I'm using gcc and dmd on windows.
I'm building foo.c with:
gcc -c foo.c -o foo.obj
Then I build my exe with:
dmd foo.obj main.
On Wednesday, 27 February 2013 at 16:20:43 UTC, Andrej Mitrovic
wrote:
On Wednesday, 27 February 2013 at 16:12:13 UTC, monarch_dodra
wrote:
I'm trying to get the hello world of cross compiling working:
The short story is you can't link GCC and DMD object files on
win32 because DMD emits OMF,
On Wednesday, 27 February 2013 at 16:12:13 UTC, monarch_dodra
wrote:
I'm trying to get the hello world of cross compiling working:
The short story is you can't link GCC and DMD object files on
win32 because DMD emits OMF, GCC emits COFF, these are
incompatible.
You might want to read this:
I'm trying to get the hello world of cross compiling working:
main.d
//
extern (C) void foo();
void main()
{
foo();
}
//
foo.c
//
#include
void foo()
{
printf("hello world");
}
//
I can't seem to get the executable to link correctly.
I'm using gcc and dmd on windows.
I
On Sun, 25 Oct 2009 05:36:20 +0100
torhu wrote:
> On 24.10.2009 16:17, Jan Stępień wrote:
> > On Sat, 24 Oct 2009 15:56:05 +0200
> > torhu wrote:
> >> On 24.10.2009 15:02, Jan Stępień wrote:
> >> > Hi all,
> >> >
> >> > I've got a problem with linking two object files on Windows with an
> >
On 24.10.2009 16:17, Jan Stępień wrote:
On Sat, 24 Oct 2009 15:56:05 +0200
torhu wrote:
On 24.10.2009 15:02, Jan Stępień wrote:
> Hi all,
>
> I've got a problem with linking two object files on Windows with an
> external *.lib file. First one is compiled C code, second one is in D.
>
On Sat, 24 Oct 2009 15:56:05 +0200
torhu wrote:
> On 24.10.2009 15:02, Jan Stępień wrote:
> > Hi all,
> >
> > I've got a problem with linking two object files on Windows with an
> > external *.lib file. First one is compiled C code, second one is in D.
> > I'm using D2.
> >
> >$ dmc -c first.c
On 24.10.2009 15:02, Jan Stępień wrote:
Hi all,
I've got a problem with linking two object files on Windows with an
external *.lib file. First one is compiled C code, second one is in D.
I'm using D2.
$ dmc -c first.c -I path/to/SDL/include
$ dmd -c second.d
First two commands create two
Hi all,
I've got a problem with linking two object files on Windows with an
external *.lib file. First one is compiled C code, second one is in D.
I'm using D2.
$ dmc -c first.c -I path/to/SDL/include
$ dmd -c second.d
First two commands create two *.obj file. After running
$ dmd first.ob
15 matches
Mail list logo