link errors with 0.149, templates, and writefln

Thomas Kuehne thomas-dloop at kuehne.cn
Mon Mar 13 00:29:53 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin Bealer schrieb am 2006-03-13:
> NOTE: this is on a 64 bit machine in Linux, so I need to manually link with gcc
> using a slight variant of the "gcc" command that dmd uses.  I can provide more
> data on this if needed.

Hint: add "-L-m32" do the dmd command line.

If your system needs gcc32:
1) create a new dir
2) add the file "gcc" with the the following content to the new dir

#!/bin/bash
gcc32 $*

3) prepend the new dir to your path when you call dmd

PATH=/the_new_dir:$PATH dmd ...

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEFTrl3w+/yD4P9tIRAgAeAJ9NOra+SQ7nEItPndUi+GQXMoHfSACghYLY
gYKYvxUS6FcaLNC6q1IVvRg=
=sO5l
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list