Questions tagged [binary-file]

A binary file is a computer file that is not a text file; it may contain any type of data, encoded in binary form for computer storage and processing purposes.

3 questions
1
vote
2 answers

what's the purpose of objcopy command?

I'm working on OS development on the Raspberry Pi. in the makefile I found this command : kernel.img: kernel.elf $(ARMGNU)-objcopy kernel.elf -O binary kernel.img witch copy the kernel.elf object file and generate the file kernel.img what's the…
user14306
0
votes
3 answers

Unable to Compile and Run Object Files on an RPi

I have a binary file that shows [URL] [port number] when I run it on Linux. I want the same thing to happen in the Pi, but instead I get cannot execute binary file Is there anything I could do to get the output without using the cross compiler?…
ashwin
  • 1
  • 2
0
votes
3 answers

Locking a C++ binary to the RPi serial number

I see that each RPi has a serial number that is accessible by reading /proc/cpuinfo. How secure is it for me to tie such serial number to my C++ binary when I want to lock that binary to a single RPi board? I know anyone will be able to alter the…
Kozuch
  • 250
  • 4
  • 17