[LLVMdev] 254.gap SPEC2000

Dale Johannesen dalej at apple.com
Sat Feb 24 17:40:36 PST 2007

On Feb 24, 2007, at 5:23 PM, Fernando Magno Quintao Pereira wrote:

> Dear guys,
>      I am writing some scripts to allow me to compile the programs in
> SPEC2000 using llvm-gcc. I have been successfull with almost all of  
> them,
> but need some help with 254.gap. I am producing a .bc file using  
> llvm-gcc,
> and then a .s using llc. Then I use gcc to produce an executable.  
> In this
> last phase, I am getting:
> /usr/bin/ld: Undefined symbols:
> _SyLibname
> _SyMemory
> _SyTime
> _syEchoch
> _syEchos
> _syGetch
> _syStartraw
> _syStopraw
> _SyFputs
> _SyIsIntr

> I probably must have to pass some flags to gcc to define those  
> symbols.

Yep.  The following should work on Mac OS X.


More information about the llvm-dev mailing list