Category "makefile"

Can't use command make for makefile on Visual Studio Code

Backround I have been coding (mostly C) on Linux so far but i want to be able to code on Windows as well. So i searched for a better editor than notepad and fou

How to prompt the commands that are written in a text file previously for spike?

I am using Spike to run a RISCV CPU. I will write the same set of commands many times that I wrote below run 100 reg 0 run 100 reg 0 run 100 reg 0 I actually

Calling existing make command in cmake file

I have a large project with multiple subdirectories. In the parent directory, I have a CMakeLists.txt file which calls functions defined in other cmake files in

How to add more than one header(HDRs) and object in a makefile?

HDRS = EventLoop.h Data.h OBJS = EventLoop.o Data.o dict_$(PROGRAM).o This is from my makefile, I want to add another Data.h and Data.o in it , kindly help! Tri

"fatal error: bits/libc-header-start.h: No such file or directory" while compiling HTK

I'm getting the following issue when trying to run make on the HTK library: (cd HTKLib && make HTKLib.a) \ || case "" in *k*) fail=yes;; *) exit 1;;

Cross Compile zlib for ARM

I try cross compile zlib for arm-poky-linux-gnueabi but I've an error when I launch make : ...:~/zlib-1.2.11$ AR=$HOST-ar CC=$HOST-gcc RANLIB=$HOST-ranlib ./co

Cross Compile zlib for ARM

I try cross compile zlib for arm-poky-linux-gnueabi but I've an error when I launch make : ...:~/zlib-1.2.11$ AR=$HOST-ar CC=$HOST-gcc RANLIB=$HOST-ranlib ./co

Makefile Fatal Error When Installing Git through TarBall(No such file or directory)

I was attempting to install Git through it's tarball, and I came across a few missing file errors. How might I fix this? /bin/sh: 1: curl-config: not found GIT

Getting Select Action error while using Visual Studio

I am getting the below alert on a certain interval while using VS Code have attached the SS of the same. Using VS for quite sometime but never encountered this

Why doesn't MinGW's linker recognise libgslcblas.dll.a?

Solution: I can now include libgsl and libgslcblas when I compile minimal code in the /home/HORTICULTIST location in cygwin's directory. Before I set the enviro

Makefile won't compile anything other than "kernel.c"

I've been trying to compile an OS however whenever I attempt to compile it using the make file it only compiles "kernel.c" and I can't seem to figure out why. I

Why does printf behave differently when called from a Makefile?

The printf program can be used to print binary data, e.g.: $ printf '%b' '\xff\xff' �� If I put this in a Makefile on its own, it works the same:

Makefile error make (e=2): The system cannot find the file specified

I am using a makefile in windows to push some files on a Unix server (here a text file "blob.txt" in the same folder of my makefile). My makefile script is: se

What's the difference between these 2 pieces of Makefile.am code?

I am completely new to using autotools so it might be a dumb question but I'll try anyway. I have two pieces of Makefile.am. Except one is working fine and the

configure: error: cannot run C compiled programs

I'm trying to install different software onto my Raspberry Pi with Debian Wheezy OS. When I run try to configure software I'm trying to install I get this outpu

use make configure/install to create a fat binary [duplicate]

On a Linux machine I can do: ./configure make install to build from source. However, when I copy that build to another machine, obviously

How to correct docker in makefile which requires at least 1 argument for remove all containers command

The docker command "docker container rm $(docker ps -aq) -f" works fine from the command line. However, when I try to run it from a makefile using the followin

What is the difference between using a Makefile and CMake to compile the code?

I code in C/C++ and use a (GNU) Makefile to compile the code. I can do the same with CMake and get a Makefile. However, what is the difference between using a M

Create a Makefile to compile all .c files in a folder/subfolder and ship the binaries elsewhere

I am currently studying K&R and I would like to create a Makefile in order to automate the compiling process. I have a directory structured as follows : k-r

FFMPEG build on Windows using MSVC - make fails

I am trying to build FFMPEG on Windows with MSVC. I am following this guide. I have managed to setup the environment in order to configure successfully, but mak