Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with compiling on Linux
#1
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
Reply
#2
Current sources can't be compiled with 0.12, sorry.. chicken egg-problem..
Reply
#3
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*
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Reply
#4
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.....
Reply
#5
er, whoops... :oops:
here's the asm source, i guess you'll have to use as on them yourself
Download linux.zip
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Reply
#6
er.. what to do with *.asm files? :oops:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)