[LLVMdev] problems with llvmgcc
sabre at nondot.org
Tue Oct 29 22:07:01 PST 2002
> I just tried to compile a simple file hello.c. But each time I used
> llvmgcc hello.c, it gave me the following error:
> xli3|csil-suna33|~/cs426|% llvmgcc hello.c
> as: error opening '/var/tmp//ccapglpE.o': file exists!
> Use -f command line argument to force output
First try doing an 'rm -f /var/tmp/*' and try again. If that still
doesn't work, please post the output of: 'llvmgcc hello.c -v'
It may be possible that the wrong 'as' is installed on CSIL. llvmgcc
should print out a path to an 'as' utility as part of the -v output. If
you can figure out where it is, please post the results of 'as -v' where
the as invoked is the same one GCC is running. If this doesn't make
sense, just post the 'llvmgcc -v' output and I'll help you from there...
More information about the llvm-dev