Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: AlejandroPadrino on November 22, 2011, 06:37:23 AM
-
Hello to all members,
I'm trying to make .tcz extension for FreeBasic 0.23.0.
In first time, errors are requesting next files ...
as
libbfd-2.2.1.0-system.20110327.so
libopcodes-2.2.1.0-system.20110327.so
Package as86.tcz does not include that files. I was get that files from my /usr/bin and /usr/lib folders into Ubuntu hard drive. But after this is requesting me for next files ...
crt1.o
crtbegin.o
crtend.o
crti.o
crtn.o
gcrt1.o
libgcc.a
libsupc++.a
Which .tcz packages contains that files?
Thanks.
-
You need the compiletc meta-extension
-
Hello Juanito,
I was load compiletc & gcc packages. Still not run. It shows me that don't found next files ...
crt1.o
crti.o
crtn.o
gcrt1.o
But that files are installed in /lib folder. Any solve?
Thank you.
-
Hi AlejandroPadrino
All you should need is the compiletc package. It includes GCC, assembler, etc. Do not load GCC
separately.
But that files are installed in /lib folder. Any solve?
Those files should appear in /usr/lib when compiletc is loaded.
-
Thank you, Rich. Problems was solved. :)
Steps for loading FreeBasic manually:
1) Load compiletc.tcz package.
2) Load ncurses-dev.tcz package.
3) Run 'sudo FreeBASIC-0.23.0-linux.run install' from original source file.
4) Get a copy of 'as' assembler file and put it into '/usr/bin' folder.
5) Get a copy of 'libopcodes-2.2.1.0-system.20110327.so' and 'libbfd-2.2.1.0-system.20110327.so' files, and put them into '/usr/lib' folder.
Now you can compile and run FreeBasic projects.
Best.
-
Hi AlejandroPadrino
Glad to hear you got it working.
4) Get a copy of 'as' assembler file and put it into '/usr/bin' folder.
Sounds like freebasic has that path hard coded instead of searching the standard paths. Compiletc
puts the assembler under /usr/local/bin which is in the standard path.
-
Hello Rich,
Really GNU Assembler steps posted before are not needed, I was test now. GNU Assembler included into compiletc.tcz package runs fine. To run FreeBasic in TinyCore only requires first three steps.
1) Load compiletc.tcz package.
2) Load ncurses-dev.tcz package.
2) Load ncurses.tcz package.
3) Run 'sudo FreeBASIC-0.23.0-linux.run install' from original source file.
Edited: I was found a bug. Can't compile and link using ncurses-dev.tcz. The bug was solved changing ncurses-dev.tcz with ncurses.tcz. Package freebasic.tcz ready to submit, and tested with "Hello world" application.
Best. ;)