jangpetter / vfpmathlibrary

Automatically exported from code.google.com/p/vfpmathlibrary
0 stars 0 forks source link

Test project doesn't compile #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open project
2. compile with no changes to target and settings (Debug target for device
using SDK 2.21 (base SDK))

What is the expected output? What do you see instead?
I am getting a compiler error:
vsinf.cpp:170: error: can't find a register in class 'LO_REGS' while
reloading 'asm'

Compiling for simulator doesn't work either:
vsinf.cpp: In function 'void vsinf(float*, float*, int)':
vsinf.cpp:170: error: unknown register name 's31' in 'asm'
vsinf.cpp:170: error: unknown register name 's30' in 'asm'
vsinf.cpp:170: error: unknown register name 's29' in 'asm'
vsinf.cpp:170: error: unknown register name 's28' in 'asm'
vsinf.cpp:170: error: unknown register name 's27' in 'asm'
vsinf.cpp:170: error: unknown register name 's26' in 'asm'
vsinf.cpp:170: error: unknown register name 's25' in 'asm'
vsinf.cpp:170: error: unknown register name 's24' in 'asm'
vsinf.cpp:170: error: unknown register name 's23' in 'asm'
vsinf.cpp:170: error: unknown register name 's22' in 'asm'
vsinf.cpp:170: error: unknown register name 's21' in 'asm'
vsinf.cpp:170: error: unknown register name 's20' in 'asm'
vsinf.cpp:170: error: unknown register name 's19' in 'asm'
vsinf.cpp:170: error: unknown register name 's18' in 'asm'
vsinf.cpp:170: error: unknown register name 's17' in 'asm'
vsinf.cpp:170: error: unknown register name 's16' in 'asm'
vsinf.cpp:170: error: unknown register name 's15' in 'asm'
vsinf.cpp:170: error: unknown register name 's14' in 'asm'
vsinf.cpp:170: error: unknown register name 's13' in 'asm'
vsinf.cpp:170: error: unknown register name 's12' in 'asm'
vsinf.cpp:170: error: unknown register name 's11' in 'asm'
vsinf.cpp:170: error: unknown register name 's10' in 'asm'
vsinf.cpp:170: error: unknown register name 's9' in 'asm'
vsinf.cpp:170: error: unknown register name 's8' in 'asm'
vsinf.cpp:170: error: unknown register name 's7' in 'asm'
vsinf.cpp:170: error: unknown register name 's6' in 'asm'
vsinf.cpp:170: error: unknown register name 's5' in 'asm'
vsinf.cpp:170: error: unknown register name 's4' in 'asm'
vsinf.cpp:170: error: unknown register name 's3' in 'asm'
vsinf.cpp:170: error: unknown register name 's2' in 'asm'
vsinf.cpp:170: error: unknown register name 's1' in 'asm'
vsinf.cpp:170: error: unknown register name 's0' in 'asm'
vsinf.cpp:170: error: unknown register name 's31' in 'asm'
vsinf.cpp:170: error: unknown register name 's30' in 'asm'
vsinf.cpp:170: error: unknown register name 's29' in 'asm'
vsinf.cpp:170: error: unknown register name 's28' in 'asm'
vsinf.cpp:170: error: unknown register name 's27' in 'asm'
vsinf.cpp:170: error: unknown register name 's26' in 'asm'
vsinf.cpp:170: error: unknown register name 's25' in 'asm'
vsinf.cpp:170: error: unknown register name 's24' in 'asm'
vsinf.cpp:170: error: unknown register name 's23' in 'asm'
vsinf.cpp:170: error: unknown register name 's22' in 'asm'
vsinf.cpp:170: error: unknown register name 's21' in 'asm'
vsinf.cpp:170: error: unknown register name 's20' in 'asm'
vsinf.cpp:170: error: unknown register name 's19' in 'asm'
vsinf.cpp:170: error: unknown register name 's18' in 'asm'
vsinf.cpp:170: error: unknown register name 's17' in 'asm'
vsinf.cpp:170: error: unknown register name 's16' in 'asm'
vsinf.cpp:170: error: unknown register name 's15' in 'asm'
vsinf.cpp:170: error: unknown register name 's14' in 'asm'
vsinf.cpp:170: error: unknown register name 's13' in 'asm'
vsinf.cpp:170: error: unknown register name 's12' in 'asm'
vsinf.cpp:170: error: unknown register name 's11' in 'asm'
vsinf.cpp:170: error: unknown register name 's10' in 'asm'
vsinf.cpp:170: error: unknown register name 's9' in 'asm'
vsinf.cpp:170: error: unknown register name 's8' in 'asm'
vsinf.cpp:170: error: unknown register name 's7' in 'asm'
vsinf.cpp:170: error: unknown register name 's6' in 'asm'
vsinf.cpp:170: error: unknown register name 's5' in 'asm'
vsinf.cpp:170: error: unknown register name 's4' in 'asm'
vsinf.cpp:170: error: unknown register name 's3' in 'asm'
vsinf.cpp:170: error: unknown register name 's2' in 'asm'
vsinf.cpp:170: error: unknown register name 's1' in 'asm'
vsinf.cpp:170: error: unknown register name 's0' in 'asm'

What version of the product are you using? On what operating system?
Latest version on 10.5.8 with XCode 3.1.3

Not sure what I am doing wrong?
Thanks, --th

Original issue reported on code.google.com by tiz...@gmail.com on 10 Oct 2009 at 9:29

GoogleCodeExporter commented 9 years ago
i had the same problem with my(10.6.7, xcode 3.2.6, ios base sdk 4.3, gcc 4.21).
the problem is xcode constantly screws up the project and target settings.
try to compile for the appropriate architecture and for "device" - this code 
should be only built on ARM6

Original comment by dsu...@gmail.com on 29 Mar 2011 at 11:05