At the end of the linking stage for fbc the compiler is producing this error
.... -o "fbc_new" -( -lfb -lgcc -lc -lm -lpthread -ldl -lncurses "/usr/share/freebasic/lib/linux/libfb_ctor.o" -) "/usr/share/freebasic/lib/linux/crtend.o" "/usr/share/freebasic/lib/linux/crtn.o"
/usr/share/freebasic/bin/linux/ld: /usr/share/freebasic/lib/linux/libfb_ctor.o: No such file: No such file or directory
make: *** [fbc_new] Error 1
cp: cannot stat `./fbc_new': No such file or directory
Robert Wishlaw
libfb_ctor.o Linux compiling CVS problem
The wiki has been changed to include make install after the building of the run-time and graphics libs, which will copy everything you need from those components into the appropriate directory in the CVS root. The makefile generated for the compiler doesn't have an install target (why ?) so you'll have to copy that manually as <cvs>/FreeBASIC/fbc. A good strategy from there (and perhaps the wiki should be changed) is to simply use the included installer at <cvs>/FreeBASIC/install.sh, which will correctly copy everything you need besides what's needed from the latest stable release. Running the installer with no arguments will display the correct usage.
edit: the Windows install script is of course severely outdated, manual installation is required.
edit: the Windows install script is of course severely outdated, manual installation is required.
Last edited by stylin on Oct 20, 2006 17:54, edited 1 time in total.