• Problems to compile lcc on Linux

    From federation2005@netzero.com@21:1/5 to Woong Jun on Mon Aug 31 11:14:31 2015
    On Sunday, December 7, 2014 at 4:39:50 AM UTC-6, Woong Jun wrote:
    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

    I ended up resorting to doing everything by hand since the archive is small and did a build by hand for all the hosts as cross-compilers.

    Time permitting I may put up a modified Makefile that permits a cleaner build as well as multiple builds in tandem. However I will only be able to test it on a Linux host.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)