[Top][All Lists]

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

Re: [Tinycc-devel] not an issue, surely a mistake

From: ian
Subject: Re: [Tinycc-devel] not an issue, surely a mistake
Date: Sat, 24 Nov 2018 20:06:28 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Thanks all.

Finally found it (but strange).

As Michael said, as suspected, it was a problem about -L. (not a libc6-dev install problem)

So, I was forced to use a -L/usr/lib/i386-linux-gnu option in all cases, and to copy crt* to /usr/lib (THIS may be an issue on linux....)

On the other hand, my main aim was to use "tcc -run" which works very fine :)

Thanks again.


Le 24/11/2018 à 18:36, Michael Matz a écrit :

On Sat, 24 Nov 2018, ian wrote:

None of my habits, but I'd like an advice. I didn't code in C for many many
years. But...
I did a few years ago correctly install tcc on my windows 7, but
unfortunately it went down (winscrap), and I only have my debian 8 x32 other
PC (kinda server for apache/php/mysql/pgsql/ and so on).

I did get the last release found, and I have this error while trying to
compile a simple "Hello World, exit=%d"...

I get almost the same kind of error while trying to compile gcctestsuite.c

tcc: file '/usr/lib/crt1.o' not found
tcc: file '/usr/lib/crti.o' not found
In file included from test.c:1:
In file included from /usr/include/stdio.h:27:
/usr/include/features.h:374: include file 'sys/cdefs.h' not found

You miss the development files for glibc, I think on debian it's libc-dev or libc6-dev.  (after installing those you probably need to reconfigure/build tcc, so that it searches in the correct dirs on debian).


Tinycc-devel mailing list

-- ian (address@hidden)
-- développeur compulsif

reply via email to

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