Adriano Holanda wrote:
I'm trying to compile github.com/drh/lcc 4.2 on Debian/Linux, but the compilation fails with the message:
cc -g -c -o build/host.o
cc: fatal error: no input files
compilation terminated.
Does anyone can help me?
thanks;
Adriano
You have to specify which file should be used for lcc's driver (whose name is 'lcc') via $HOSTFILE:
HOSTFILE=./etc/linux.c make all
This builds 'host.o' from '(project root)/etc/linux.c'.
Reading 'doc/install.html' is recommended before building.
Hope this helps.
--
Jun, Woong (woong.jun at gmail.com)
Web: http://code.woong.org
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 28:39:47 |
Calls: | 6,648 |
Calls today: | 3 |
Files: | 12,193 |
Messages: | 5,328,173 |