Skip to content

compiling with gcc looks for xt-nm #22

Closed
@tve

Description

@tve

I selected compilation with gcc, but it's looking for xt-nm:

make[1]: Leaving directory `/big/home/src/esp8266/esp_iot_rtos_sdk/app/user'
xtensa-lx106-elf-gcc  -L../lib -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lmain -lfreertos -llwip -ludhcp user/.output/eagle/debug/lib/libuser.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out

!!!
sh: 1: xt-nm: not found

This referenced in tools/gen_appbin.py:

$ grep -C4 xt-nm tools/gen_appbin.py

    if os.getenv('COMPILE')=='gcc' :
        cmd = 'xtensa-lx106-elf-nm -g ' + elf_file + ' > eagle.app.sym'
    else :
        cmd = 'xt-nm -g ' + elf_file + ' > eagle.app.sym'

Looks like the COMPILE environment variable isn't passed down into the python script...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions