Hi, I have followed the FreeBasic installation instructions, verified I have all the dependencies.
When I try ./install.sh build
I get the following output.
Extracting release, version information...
Compiling GCBASIC Version v0.98.01, released 31/10/2017
FreeBASIC Compiler - Version 1.05.0 (01-31-2016), built for linux-x86 (32bit)
Copyright (C) 2004-2016 The FreeBASIC development team.
target: linux-x86, 686, 32bit
compiling: gcbasic.bas -o gcbasic.asm (main module)
assembling: as --32 --strip-local-absolute "gcbasic.asm" -o "gcbasic.o"
gcbasic.bas() error 23: File not found, crt1.o
gcbasic.bas() error 23: File not found, crti.o
gcbasic.bas() error 23: File not found, crtn.o
linking: ld -m elf_i386 -o "gcbasic" -dynamic-linker /lib/ld-linux.so.2 "/usr/local/bin/../lib/freebasic/linux-x86/fbextra.x" -s -L "/usr/local/bin/../lib/freebasic/linux-x86" -L "." -L "/usr/lib/gcc/x86_64-linux-gnu/5" "/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o" "/usr/local/bin/../lib/freebasic/linux-x86/fbrt0.o" "gcbasic.o" "-(" -lfb -lncurses -lm -ldl -lpthread -lgcc -lgcc_eh -lc "-)" "/usr/lib/gcc/x86_64-linux-gnu/5/crtend.o"
ld: cannot find -lncurses
ld: cannot find -lm
ld: cannot find -ldl
ld: cannot find -lpthread
ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a when searching for -lgcc
ld: cannot find -lgcc
ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_eh.a when searching for -lgcc_eh
ld: cannot find -lgcc_eh
ld: cannot find -lc
linking failed: 'ld' terminated with exit code 1
Any thoughts?
Hardware is a BayTrail Celeron, 2gb ram.
Gallium OS 2.1
64-bit distro I believe.
Last edit: Travis McConnell 2018-03-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I asked a year ago where the source code was for gcb that could be compiled by free basic..just to examine.
Is that the "core"?
Is the @Travis post not related to free basic but the linux gcb needs compiling on install on linux ( I no good with linux) .
When the gcb core is updated, is it re-compiled with free basic? Out of interest.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Confirmed my stupidity. Cant compile 64-bit software with 32-bit compiler....
Fixed by uninstalling 32-bit FreeBASIC, and re-installing correct 64-bit FreeBASIC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On win it's IDE application not gcbasic application which is command line.
I'm trying to unrar gcb on debian linux but it fails so I'm update upgrade now, been updating an hour now..yawn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guess it's different on linux compared to win.
In win the command version is gcbasic but launch ide is IDE.
Using xarchiver I can't unrar @gcb. There's another non-free unrar I'll try.
I don't do linux but have a go to see gcb on linux. Don't know if pk2 etc will work.
Just experimenting.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On ubuntu use text editor (Gedit) with the external tools option. The external tools allow the editor to run the compiler and burn almost as good as IDE.
There also is a Geany editor
These are very much advanced from the old vi editor on the command line.
BR
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If debian xarchiver can't unrar linux gcb I could try loading ubunto mate and use other unrar.
I'm using a raspberry pi. I tried mate but kodi doesn't support hard ware video playback on mate.. it does on Debian.
I'm not going to install on a win pc again with grub.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have followed the FreeBasic installation instructions, verified I have all the dependencies.
When I try ./install.sh build
I get the following output.
Any thoughts?
Hardware is a BayTrail Celeron, 2gb ram.
Gallium OS 2.1
64-bit distro I believe.
Last edit: Travis McConnell 2018-03-31
I asked a year ago where the source code was for gcb that could be compiled by free basic..just to examine.
Is that the "core"?
Is the @Travis post not related to free basic but the linux gcb needs compiling on install on linux ( I no good with linux) .
When the gcb core is updated, is it re-compiled with free basic? Out of interest.
@Stan. A Linux release is released with all releases. So, if you want the source... take the Linuxbuild.
Im re-reading this and I think i may have installed the incorrect (32bit vs 64bit) version of FreeBasic.
Confirmed my stupidity. Cant compile 64-bit software with 32-bit compiler....
Fixed by uninstalling 32-bit FreeBASIC, and re-installing correct 64-bit FreeBASIC.
Another question now, I have this installed and working but all I've got is a command line compiler.
Is the IDE not available on linux?
On win it's IDE application not gcbasic application which is command line.
I'm trying to unrar gcb on debian linux but it fails so I'm update upgrade now, been updating an hour now..yawn
IDE stands for Integrated Development Environment, Ive never seen this on command line. I think you misunderstand.
Guess it's different on linux compared to win.
In win the command version is gcbasic but launch ide is IDE.
Using xarchiver I can't unrar @gcb. There's another non-free unrar I'll try.
I don't do linux but have a go to see gcb on linux. Don't know if pk2 etc will work.
Just experimenting.
I'd try to help but I haven't used Debian. Only Ubuntu and clones.
On ubuntu use text editor (Gedit) with the external tools option. The external tools allow the editor to run the compiler and burn almost as good as IDE.
There also is a Geany editor
These are very much advanced from the old vi editor on the command line.
BR
Mike
If debian xarchiver can't unrar linux gcb I could try loading ubunto mate and use other unrar.
I'm using a raspberry pi. I tried mate but kodi doesn't support hard ware video playback on mate.. it does on Debian.
I'm not going to install on a win pc again with grub.