manu_osx wrote:
> peng ha scritto:
>> hi,
>>
>> I wrote a program, and it runs well on i386 arch (Fedora core 
>> 6,fltk1.1.7),now i want to cross-compile the fltk1.1.7,and let my program 
>> run on arm. But there are some problems when i use the arm-linux-gcc and 
>> arm-linux-g++
>> I use the configure option:
>> ./configure --prefix=/usr/fltk  --host=arm-linux  --build=i386-linux 
>> --target=arm-linux
>> make it then comes:
>> Fl_x.cxx: In function `int fl_wait(double)':
>> Fl_x.cxx:238: inconsistent operand constraints in an `asm'
>> Fl_x.cxx:239: inconsistent operand constraints in an `asm'
>> Fl_x.cxx:240: inconsistent operand constraints in an `asm'
>>
>> how to solve it?
>>
>> I search other messages, someone said he also uses nano-X & nxlib, i wonder 
>> nano-X & nxlib are necessary?
> 
> Hi,   
> when trying to cross compile for my target I have the same problem;
> HOw did you solved this problem?

Putting this literal into Google with punctuation as shown

"inconsistent operand constraints in an `asm'"

You can also try

"inconsistent operand constraints in an `asm'" arm

The dates of the many reports vary widely saying this is a deep problem 
(at least 2002 to 2008).

Packages other than fltk have the same problem.

This one looks a nice answer which is worth investigating, suggesting a 
config/path problem where ARM headers are not found and fallback on i86 
is used.

http://handhelds.org/pipermail/familiar/120/12045.html

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to