Compiling DMD on MAC OS X

kraybourne stdin at kraybourne.com
Sun Feb 19 03:39:15 PST 2012


On 2/19/12 09:20 , Tyro[a.c.edwards] wrote:
> Hi all,
>
> I've just installed DMD 2.058 and attempted to compile a little script
> but was greeted with the following error:
>
> gcc: Invalid argument
>
> I used the .dmg installer from http://www.dlang.org/download.html and
> issued the command:
>
> dmd average
>
> Is there something I'm missing?
>
> Thanks,
> Andrew

Hi!

Could you try

	dmd -v avarage

and tell us what comes out?
Also, how does avarage.d look? Also what does

	uname -a

and
	gcc --version

say? Also, just in case

	which dmd



More information about the Digitalmars-d-learn mailing list