• AVR Freaks

Hot!Anyone compile XC16 [SOLVED]

Author
LdB_ECM
Super Member
  • Total Posts : 355
  • Reward points : 0
  • Joined: 2019/04/16 22:01:25
  • Location: 0
  • Status: offline
2020/04/09 21:52:48 (permalink)
0

Anyone compile XC16 [SOLVED]

[SOLVED]I changed a couple of things in version 1.50 XC16 compiler code and tried to compile it via it's script.
 
It gets thru most of the script but then borks ... anyone got any idea what it is complaining about?

 
creating Makefile
creating po/Makefile.in
creating config.h
config.h is unchanged
make[1]: Entering directory '/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/bin/acme-coff-native/ld'
make  all-recursive
make[2]: Entering directory '/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/bin/acme-coff-native/ld'
Making all in po
make[3]: Entering directory '/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/bin/acme-coff-native/ld/po'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/bin/acme-coff-native/ld/po'
make[3]: Entering directory '/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/bin/acme-coff-native/ld'
/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l && mv lex.yy.c ldlex.c
/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: 1: /mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: %{: not found
/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: 3: /mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: /bin: Permission denied
/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: 4: /mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: 2000,: not found
/mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: 6: /mnt/c/Users/Leon/Downloads/xc16-v1.50.src/v1.50.src/src/acme/ld/ldlex.l: This: not found

post edited by LdB_ECM - 2020/04/10 05:31:39
#1

2 Replies Related Threads

    andersm
    Super Member
    • Total Posts : 2796
    • Reward points : 0
    • Joined: 2012/10/07 14:57:44
    • Location: 0
    • Status: offline
    Re: Anyone compile XC16 2020/04/10 02:06:56 (permalink)
    5 (2)
    ldlex.l is a Lex file, but for some reason it's being executed as a shell script. Do you have a Lex implementation (eg. Flex) installed? I assume it's executing an auto-generated script or makefile that's supposed to run "{lex_binary_here} ldlex.l && mv lex.yy.c ldlex.c", but since it couldn't find any Lex, the placeholder is empty.
    #2
    LdB_ECM
    Super Member
    • Total Posts : 355
    • Reward points : 0
    • Joined: 2019/04/16 22:01:25
    • Location: 0
    • Status: offline
    Re: Anyone compile XC16 [Solved] 2020/04/10 05:29:25 (permalink)
    0
    Spot on that solved problem ... ty
    post edited by LdB_ECM - 2020/04/10 05:30:54
    #3
    Jump to:
    © 2020 APG vNext Commercial Version 4.5