m68k-elf-ld Can't Find Libraries

Sysprogs forums Forums Other tools & products m68k-elf-ld Can't Find Libraries

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23957
    beschmid12
    Participant

    I installed the GNU m68k-elf cross tools. I am trying to build my application, but the linker complains that it can’t find the libraries:

    /cygdrive/c/SysGCC/m68k-elf/bin/m68k-elf-ld.exe crt0.o asm_funcs.o control.o menu.o pid.o adc.o timer.o m6821.o serial.o rampsoak.o termio.o stubs.o -Ttext 0x8000 -Tdata 0x4000 –library-path=/cygdrive/c/SysGCC/m68k-elf/m68k-elf/lib/ -lm -lc -lgcc -lnosys -o controller

    C:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe: cannot find -lm
    C:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe: cannot find -lc
    C:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe: cannot find -lgcc
    C:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe: cannot find -lnosys

    The libraries exist in the library path I gave the linker. Any suggestions?

     

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.