Alexander Pyattaev
15 years ago
Hello.
I have installed tinygcc just to play around and tried to use it on quite big
pure-c project. It compiled everything nicely, except for the linking phase:
# tcc -v -o model/model model/antenna.o model/channel.o
model/channel_model_friss.o model/channel_probe.o model/conf_utils.o
model/main.o model/model.o model/model_internal.o model/node.o
model/regen_functs.o model/ringbuffer.o model/scheduler.o model/statistics.o
model/traffic_generator.o model/transmission.o -Llib -lm -lc2o -lconfig -lgsl
tcc version 0.9.25
-> model/antenna.o
-> model/channel.o
-> model/channel_model_friss.o
-> model/channel_probe.o
-> model/conf_utils.o
-> model/main.o
-> model/model.o
-> model/model_internal.o
-> model/node.o
-> model/regen_functs.o
-> model/ringbuffer.o
-> model/scheduler.o
-> model/statistics.o
-> model/traffic_generator.o
-> model/transmission.o
tcc: undefined symbol 'strcpy'
I do not think any kind of arguments can make it forget where to get stdlib
function....
I can not send you the code (unfortunately, it is closed), but if you need
more testing just email me.
Alex.
I have installed tinygcc just to play around and tried to use it on quite big
pure-c project. It compiled everything nicely, except for the linking phase:
# tcc -v -o model/model model/antenna.o model/channel.o
model/channel_model_friss.o model/channel_probe.o model/conf_utils.o
model/main.o model/model.o model/model_internal.o model/node.o
model/regen_functs.o model/ringbuffer.o model/scheduler.o model/statistics.o
model/traffic_generator.o model/transmission.o -Llib -lm -lc2o -lconfig -lgsl
tcc version 0.9.25
-> model/antenna.o
-> model/channel.o
-> model/channel_model_friss.o
-> model/channel_probe.o
-> model/conf_utils.o
-> model/main.o
-> model/model.o
-> model/model_internal.o
-> model/node.o
-> model/regen_functs.o
-> model/ringbuffer.o
-> model/scheduler.o
-> model/statistics.o
-> model/traffic_generator.o
-> model/transmission.o
tcc: undefined symbol 'strcpy'
I do not think any kind of arguments can make it forget where to get stdlib
function....
I can not send you the code (unfortunately, it is closed), but if you need
more testing just email me.
Alex.