Comments (4)
In a cloned repository or source package you can find it at ./contrib/unix-installer/install.sh
contrib/unix-installer/install.sh
Or for any file can search for it: $ find . -iname 'install.sh'
Usually though, if you are building fbc yourself from cloned repository should also be able to:
$ sudo make install
to install the compiler, libraries, etc, to the system directories.
The install.sh
file is copied to the top directory only when making the binary packages.
from fbc.
Thanks.
'sudo ./contrib/unix-installer/install.sh -i' reports 'install: cannot stat './bin/fbc': No such file or directory'. 'bin' is empty.
'sudo make install' reports
FBC src/compiler/obj/linux-aarch64/ast-gosub.o
FBC src/compiler/obj/linux-aarch64/ast-helper.o
/bin/sh: fbc: command not found
FBC src/compiler/obj/linux-aarch64/ast-misc.o
/bin/sh: fbc: command not found
FBC src/compiler/obj/linux-aarch64/ast-node-addr.o
/bin/sh: fbc: command not found
FBC src/compiler/obj/linux-aarch64/ast-node-arg.o
/bin/sh: fbc: command not found
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-gosub.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-helper.o] Error 127
FBC src/compiler/obj/linux-aarch64/ast-node-assign.o
/bin/sh: fbc: command not found
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-misc.o] Error 127
FBC src/compiler/obj/linux-aarch64/ast-node-bop.o
/bin/sh: fbc: command not found
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-node-addr.o] Error 127
FBC src/compiler/obj/linux-aarch64/ast-node-branch.o
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-node-arg.o] Error 127
/bin/sh: fbc: command not found
/bin/sh: fbc: command not found
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-node-assign.o] Error 127
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-node-bop.o] Error 127
make: *** [makefile:586: src/compiler/obj/linux-aarch64/ast-node-branch.o] Error 127
from fbc.
The source code for freebasic compiler 'fbc' is written in freebasic language itself. So you will need a working fbc compiler already installed to compile the fbc compiler.
Looks like fedora 33 has a package available:
https://fedora.pkgs.org/33/rpm-sphere-aarch64/freebasic-1.07.1-1.aarch64.rpm.html
In which case you would
- install fedora 33 - freebasic 1.07.1 package
- get latest freebasic 1.08 from git clone
- try make && make install from source
Information about bootstrapping the compiler: https://www.freebasic.net/wiki/DevBootstrap
Sorry, I don't think any of the main freebasic developers have an Aarch64 platform to test on so information about aarch64 is limited (or non-existent).
If you do have have success building fbc, please considering offering some feedback or information to update the documentation about the Aarch64 target.
from fbc.
Official ARMv7 and ARMv8 packages released
See: https://www.freebasic.net/forum/viewtopic.php?t=29054
Packages built and tested with:
raspian9-arm (on a RPI 3)
ubuntu-20.10-aarch64 (on a RPI 4)
bootstrap package now includes arm and aarch64 targets
from fbc.
Related Issues (20)
- The _DISPATCHER_HEADER structure is incorrect HOT 2
- _IRP Statement bugfix HOT 6
- How to modify FB code to use FB built-in functions in driver development? HOT 1
- unit-tests stuck on ascii HOT 8
- FreeBASIC support for Linux on PowerPC and PowerPC64? HOT 4
- libstdc++-related problems in log-tests HOT 10
- Support for SOURCE_DATE_EPOCH HOT 4
- Golang and FreeBasic HOT 1
- File Append Bug HOT 1
- Date Format Bug HOT 2
- Could fbc achieve the same effect as making a share section in dll HOT 1
- cannot find -ldisphelper HOT 2
- build FreeBasic on macOS 13.1 with clang HOT 1
- if statement fail on div0 HOT 6
- MOVE TO DISCUSSIONS: hdpmi32 and cwsdpmi in dosbox HOT 2
- mangled out
- mangled output windows commandline when using wstr and pipe
- Brecht Sanders MinGW-W64 refrence possibly rather excessive in compiled exe with gcc HOT 9
- fbc64 version 1.20 crashed under Windows 10 64 bit HOT 1
- Invalid assignment/conversion, before 'Then' in function returned Const ZString Ptr HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbc.