tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] libtcc1 again --- on ARMv7


From: Armin Steinhoff
Subject: Re: [Tinycc-devel] libtcc1 again --- on ARMv7
Date: Sat, 25 May 2013 19:08:26 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

Thomas Preud'homme wrote:
> Le mercredi 22 mai 2013 15:25:26, Armin Steinhoff a écrit :
>> Hi All,
>>
>> I have ported "tcc" to the BeagleBone running QNX 6.5.
>>
>> Starting "tcc-arm" w/o parameters shows the expected help informations.
>>
>> The command "tcc-arm -c ex5.c" works ... it creates ex5.o
>>
>> Linking the executable with "tcc-arm  -o x  ex5.o " produced:
>>
>> tcc: error: file 'crt1.o' not found
>> tcc: error: file 'crti.o' not found
>> tcc: error: file '/usr/lib/tcc/libtcc1.a' not found
>> tcc: error: file 'crtn.o' not found
>>
>> Why is the linking process looking for '/usr/lib/tcc/libtcc1.a'  ??
>>
>> Do we need the run time environment for ARM ??
> Yes, for integer division for instance.

Seems not to be the case.
I'm using only the JIT feature for generation code in memory ... so I
defined in config.h the macro WITHOUT_LIBTCC and all is working for our
real-time soft PLC :)

libttc1 must only be used if you are going to create application
binaries ...

Regards

--Armin

>
>> Regards
>>
>> --Armin
> Best regards,
>
> Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]