Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22070

Build commands needed to run Wine programs from IDE

$
0
0

I’ve recently done a git clone of the wine repository at https://github.com/wine-mirror/wine and downloaded the folders to (~/repo/wine/). I'm trying to run Notepad, but don't know how. I am assuming that to build and compile it, I would need to run main.c from the notepad folder. I’m running GCC v 8.3.0 on Raspbian/Linux 10

With the repo downloaded as shown above, what build commands would I need to run notepad’s main.c from Geanie (or any, currently using Geanie) IDE? Can a single compile and/or build command let me run notepad from Geanie, or am I missing something?

Other details (not needed if what I thought I was going to do can't be done):

I wanted to try to run main.c at (~/repo/wine/programs/main.c), but don’t know how to get GCC to view all of the necessary header files. In my execution instructions window in Geanie, I have

gcc -Wall -c “%f” /home/pi/repo/wine/include

and my build instruction (it won't compile, so this isn't anything I've even gotten to work with yet...)

gcc -Wall -o “%e”“%f” /home/pi/repo/wine/include

When I attempt to compile, I get:

Stdio.h:11:10: fatal error: corecrt_wstdui.h: No such file or directory.#include <corecrt_wstudio.h>

I went over to the stdio.h and attempted to add a build instruction here as well that also targets the include folder (which is the supposedly missing file), but it won’t compile.

Using cpp -v, I can see my include paths for GCC are as follows:

#include”...” paths:#include<...> paths:\usr\lib\gcc\arm-linux-gnueabihf\8\include\usr\local\include\usr\lib\gcc\arm-linux-gnueabihf\8\include-fixed\usr\include\arm-linux-gnueabihf\usr\include

Viewing all articles
Browse latest Browse all 22070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>