D main() never called?

jaspax jaspax at gmail.com
Mon Dec 10 12:02:36 PST 2007


== Quote from BCS (ao at pathlink.com)'s article
> I think that it is here "-L-lfl" this is assuming that libfl.a is from flex.
> My suggestion is to replace the d stuff with a c hello world and get that
> running. Then get the D version working. I would also recommend that you
> compile and link the D code in 2 steps. To do that run gcc as you would for
> a normal link but also link with libphobos (or something similar for tango)

That turned out to be the case. Once I stopped linking to -lfl the problem went
away, and the -lfl turned out to not be needed in D anyway.

(I actually already had a working example in C. This problem came up as I was
trying to bootstrap to the full D example.)


More information about the Digitalmars-d-learn mailing list