Tiny Core Base > CorePlus

My last (I promise) tantrum: is it possible to run gcc on a Pentium 166?

(1/7) > >>

t18:
Hello,

my question is coz I'm unable to run even a simple xterm on my P166.

I get:


--- Code: ---Illegal instruction
--- End code ---

or


--- Code: ---CPU ISA level is lower than requested
--- End code ---

And I can't even load the linux headers:


--- Code: ---no space left on device
--- End code ---

Here is some output:


--- Code: ---tc@box:~$ free
              total        used        free      shared  buff/cache   available
Mem:          86172       52036        8568        3716       25568       25344
Swap:        252048       21456      230592

tc@box:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:             84          51           8           4          25          25
Swap:           246          21         225

tc@box:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   75.7M     23.1M     52.6M  31% /
tmpfs                    42.1M         0     42.1M   0% /dev/shm
/dev/sda2                 3.0G    991.6M      2.0G  33% /mnt/sda2
/dev/loop0                8.0K      8.0K         0 100% /tmp/tcloop/libxcvt
/dev/loop1              280.0K    280.0K         0 100% /tmp/tcloop/pixman
/dev/loop2                1.4M      1.4M         0 100% /tmp/tcloop/gcc_libs
/dev/loop3                2.7M      2.7M         0 100% /tmp/tcloop/openssl
--- End code ---

So I'd try an older version of gcc, if that's feasible.

Many thanks

Juanito:
Which x server are you trying to run, Xvesa, Xfbdev or Xorg-7.7?

Which version and architecture of tinycore?

How much ram does your machine have?

It's possible you've hit on a kernel bug for early i486 and perhaps others - you could try using http://tinycorelinux.net/16.x/x86/release/distribution_files/i486/bzImage to see if it helps.

t18:

--- Quote from: Juanito on May 26, 2025, 07:49:13 AM ---Which x server are you trying to run, Xvesa, Xfbdev or Xorg-7.7?
--- End quote ---

Xvesa.

I'm not referring to the default rxvt but to the latest Xterm code that I've downloaded and compiled for 32 bit on my i5 10600.


--- Quote ---Which version and architecture of tinycore?
--- End quote ---

15


--- Quote ---How much ram does your machine have?
--- End quote ---

96 Mb


--- Quote ---It's possible you've hit on a kernel bug for early i486 and perhaps others - you could try using http://tinycorelinux.net/16.x/x86/release/distribution_files/i486/bzImage to see if it helps.

--- End quote ---

That's shown as "Potential security risk" on Firefox since its http and not https.

Juanito:

--- Quote from: t18 on May 26, 2025, 08:15:04 AM ---I'm not referring to the default rxvt but to the latest Xterm code that I've downloaded and compiled for 32 bit on my i5 10600.

--- End quote ---

Did you use “-march=i486 -mtune=i686”? If not you will have compiled code that works on your i5, but not necessarily on your pentium.

Rich:
Hi t18
A couple of thoughts, since code compiled for an i5 is probably
not 486 compatible.

Did you include the 486 compiler directive for CFLAGS:

--- Code: ----march=i486
--- End code ---

If you did, was it ignored?
Some projects have make files that ignore compiler directives
that the user specifies in the environment.

Navigation

[0] Message Index

[#] Next page

Go to full version