Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about tcc

Read more about tcc

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - tcc

Beginner issue when linking 7z LZMA SDK to dietlibc

I'm using tcc on sabotage. I use below to link LZMA to dietlibc (the start.o and libc.a from dietlibc are in current path): tcc -nostdlib start.o LzmaUtil.o Alloc.o LzFind.o LzmaEnc.o LzmaDec.o 7zFind...
test-img

Chenrui Yang

linux

gcc

linker

libc

tcc

Votes: 0

Answers: 1

Latest Answer

Solved. Dietlibc's start.o is calling stackgap before entering main for x86_64 by default. Everything goes well if I remove stackgap in dietfeatures.h. I think ld suceed because it doesn't use stack-p...
test-img

Chenrui Yang

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved