Bare metal embedded lecture-2: Makefile and analyzing relocatable obj file

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 33

  • @venkateshnayak5096
    @venkateshnayak5096 3 года назад +8

    People who still could not figure out the solution for the "***no target specified and no makefile found. stop." in windows machine. Here's a solution. Instead of saving the file type as Makefile, save it as "files of all types". Then the make should work like a charm. It worked out for me. Let me know if it does.
    Thanks.
    A great fan of your work Kiran. Learned a lot from you since the pandemic had begun.
    Keep inspiring us all. Thank you.

  • @Somali-iv9pu
    @Somali-iv9pu 7 месяцев назад +1

    thank you sir, these matters are usually not found in video formats on youtube so we have to learn with books old school way but this makes it so easy to learn.

  • @sureshrejeti8257
    @sureshrejeti8257 4 года назад +7

    Take a bow for outstanding explanation about makefile stuff

  • @markwest7805
    @markwest7805 3 года назад +4

    Excellent video. The only issue I ran into was that the make command did not work when I saved my Makefile with the .mak extension. After I removed this .mak extension the Makefile was recognized. Posting this in case someone else runs into this problem.

  • @fernandotaddei5276
    @fernandotaddei5276 4 года назад +4

    At 12:29 in this video, you switched from a Windows CLI to a Linux shell or something equivalent. Where did I miss this change? Tks.

    • @varigondasaikrishna4102
      @varigondasaikrishna4102 4 года назад

      i also observed this if u find this just clarify to me once....

    • @kuralamuthanveerapandiyan
      @kuralamuthanveerapandiyan 4 года назад +2

      It doesn't matter. You can use either of them. My guess is the tutor might have recorded those at different times using different shells. It's immaterial in this case.

    • @yanhuiyuan5686
      @yanhuiyuan5686 4 года назад +1

      It's mingw, a minimal Linux environment for windows. The terminal is Git for windows.

  • @algebra7912
    @algebra7912 4 года назад

    Looking forward to future lectures! Good content and well explained. Thank you

  • @LindenAshbyMK
    @LindenAshbyMK 8 месяцев назад

    Is there a good documentation on 16-bit DOS relocatable Object files?

  • @mahadevans1090
    @mahadevans1090 4 года назад +3

    After using command make, it's showing error no target specified and no makefile found. Iam in the correct directory and the directory contains makefile named Makefile. Any idea why is it so?

    • @manaswinisrilalitha9026
      @manaswinisrilalitha9026 4 года назад +1

      I have the same issue.

    • @vevasam
      @vevasam 4 года назад +1

      If it is saved as Makefile.mak, remove the extension and just save it as Makefile.

    • @vincenzonobile6787
      @vincenzonobile6787 4 года назад

      I was having the same issue and actually I still don't understand why.
      Anyway, I solved it by forcing the "make" command to read my makefile with "make -f Makefile.mak"

    • @yasirfaizahmed2003
      @yasirfaizahmed2003 4 года назад

      yes even I got the same error, It got resolved when I kept the recipe in the following format
      $(CC) blinky0.c -o blinky.o $(CFLAG)

    • @encryptedchannel213
      @encryptedchannel213 4 года назад

      @@vevasam thank you, your ans helpful me

  • @olvyshh147
    @olvyshh147 3 года назад

    Nice lecture thanks. Very clear and undestandable.

  • @dsbros3591
    @dsbros3591 4 года назад +6

    For people getting error in windows: "***no target specified and no makefile found. stop.
    Rename the file Makefile.mak to Makefile (i.e remove the extension it will work)

  • @therewbb
    @therewbb 4 года назад +2

    Can you tell me which lecture is that from Udemy? I bought almost all your courses. I want to see if that's a new course or I missed something from an old lecture.

    • @jaakjensen
      @jaakjensen 4 года назад

      i think it's new and not on udemy yet

    • @chetanjadhav9730
      @chetanjadhav9730 4 года назад

      I think it is from "Make your own bootloader for STM".. something like that..
      Its a guess btw. I could be wrong

  • @vinayhb3337
    @vinayhb3337 4 года назад

    Hello,
    this tutorials helped lot to understand Makefile. Can you please share further references to study about Makefile

  • @vevasam
    @vevasam Год назад

    If you are using VSCode, select 'Convert indentation to tabs'. Otherwise the tabspace given for recipes are consiidered spaces and make commad returns error - '*** missing separator. Stop'

  • @kayakMike1000
    @kayakMike1000 4 года назад

    Meson build is much better.