A question about building fbc from source

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
cuthbertdavies
Posts: 1
Joined: Feb 15, 2024 10:16

A question about building fbc from source

Post by cuthbertdavies »

On MSYS2, it has separate root directory for each MinGW toolchain. For example, if you are using the MinGW32 shell then the root dir is /mingw32. I'm using MinGW64 so the root dir will be /mingw64. My GCC will be /mingw64/bin/gcc.

I wonder where make install will install to. I guest it's /usr/local, doesn't it? I think /mingw64 is the correct location.

How could I specify where it will install to and is it correct to install to /mingw64? Thanks.
srvaldez
Posts: 3379
Joined: Sep 25, 2005 21:54

Re: A question about building fbc from source

Post by srvaldez »

hello cuthbertdavies :)
you could edit the makefile line 174, don't know if there's a way to do it from the command line
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: A question about building fbc from source

Post by St_W »

This should just work nicely: make install prefix=/mingw64
Post Reply