Qbasicnews.com

Full Version: Problems with compiling on Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
When trying to compile the newest CVS version of the compiler i get this error:

[mrbobble@HP4150 compiler]$ make
/usr/bin/fbc -e -c -arch 486 -d TARGET_LINUX fbc.bas -o obj/linux/fbc.o
fbc.bas(1047) : error 30: Expected pointer, before: '='
make: *** [obj/linux/fbc.o] Fehler 1

[mrbobble@HP4150 compiler]$ fbc -version
FreeBASIC Compiler - Version 0.12

line 1047 of fbc.bas: if( argv(i)[0] = asc( "-" ) ) then

MrBobble
Current sources can't be compiled with 0.12, sorry.. chicken egg-problem..
someone's probably going to assassinate me for this, but here:
Download obj.tar.gz
unpack to your FreeBASIC/src/compiler directory (the .o files should end up in the FreeBASIC/src/compiler/obj/linux directory), then run make again. Wink
*ducks*
Quote:someone's probably going to assassinate me for this, but here:
Download obj.tar.gz
unpack to your FreeBASIC/src/compiler directory (the .o files should end up in the FreeBASIC/src/compiler/obj/linux directory), then run make again. Wink
*ducks*

best thanks but....

obj/linux/fbc.o: file not recognized: File format not recognized
make: *** [../../fbc_new] Error 1

I think the fbc-binary would be much better :wink:
Other idea: daily CVS-snapshots.....
er, whoops... :oops:
here's the asm source, i guess you'll have to use as on them yourself
Download linux.zip
er.. what to do with *.asm files? :oops: