Nevermind! I figured it out. Apparently CC was set in my system 
incorrectly. I found the culprit and removed it. It works now.

So if anyone else runs across this, look at your CC environment variable.

(I saw a similar issue posted in one of the other newsgroups that just 
said "Post in learn instead" basically instead of answering the 
question, but it looks like that person never did)


In article 
<[email protected]>,
 Andrew Wiley <[email protected]> wrote:

> On Sat, Dec 24, 2011 at 6:29 PM, Robert Rouse <[email protected]> 
> wrote:
> > Running a simple compile and link
> >
> > dmd test.d
> >
> > produces
> >
> > gcc-4.2: Invalid argument
> >
> > What can I provide to track this down?
> 
> Run with `dmd -v` to get the linker commandline.

Reply via email to