64 bit linux

Miscellaneous Forums/Linux Discussion/64 bit linux

lo, will max exe`s work on 64 bit linux? and will the compiler work fine etc?

I'll be able to tell you when I get all my drives set up correctly.

This would be very useful. IIRC, James' rock game thingy didn't work on 64bit linux, but that was quite a while back now.

not work! :(

i get this error:

Building glblurr
Linking:glblurr.debug
/usr/bin/ld: skipping incompatible /home/greg/BlitzMAX/mod/brl.mod/appstub.mod/appstub.d.a when searching for /home/greg/BlitzMAX/mod/brl.mod/appstub.mod/appstub.d.a
/usr/bin/ld: cannot find /home/greg/BlitzMAX/mod/brl.mod/appstub.mod/appstub.d.a
collect2: ld returned 1 exit status
Build Error: Failed to link /home/greg/BlitzMAX/Samples/birdie/misc/glblur/glblurr.debug
Process complete


:( whaaaa!! :(

now i install 32bit linux version...

I'm thinking you need to do a rebuild all (turn quick build off then rebuild modules). Then let us know what errors you get and I'll see what I can do.

tried.
but the linker says always "Skipping incompatible ... appstub.a"

So it compiles all the modules without incident but gives you the incompatible error when linking an app?

no... sorry...
when i try to recompile the modules (quick build off) the compiler says:

"Building Modules
Compiling:blitz_app.c
/home/greg/BlitzMAX/mod/brl.mod/blitz.mod/blitz_app.c: In function `bbReadStdin':
/home/greg/BlitzMAX/mod/brl.mod/blitz.mod/blitz_app.c:31: error: assignment of read-only location
Build Error: failed to compile /home/greg/BlitzMAX/mod/brl.mod/blitz.mod/blitz_app.c
Process complete"

....

Maybe this has something to do with the new security features.

Look here for the same problem, but with Windows.

Notice that he worked around this by going outside of Windows.
I wonder if that guy has an Athlon 64 and XP SP2.

Cool, it's a bug (nice version of GCC you have there).

Remove the const in line 29 of blitz_app.c so it reads:
BBString *bbReadStdin(){
	char buf[1024];
	char *p;
	fgets( buf,1024,stdin );
	buf[1023]=0;if( p=strchr(buf,'\n') ) *p=0;
	return bbStringFromCString(buf);
}

Looking forward to your next report!

my system is (gcc version 3.4.2 20041017) Fedora core 3 AMD64

i fixed this two error too

Compiling:system.linux.c
/home/greg/BlitzMAX/mod/brl.mod/system.mod/system.linux.c:171: error: conflicting types for 'bbSystemPoll'
/home/greg/BlitzMAX/mod/brl.mod/system.mod/system.linux.c:168: error: previous implicit declaration of 'bbSystemPoll' was here
Build Error: failed to compile /home/greg/BlitzMAX/mod/brl.mod/system.mod/system.linux.c
Process complete

/home/greg/BlitzMAX/mod/brl.mod/blitzgl.mod/blitzgl.linux.c:286: error: conflicting types for 'bglDeleteContext'
/home/greg/BlitzMAX/mod/brl.mod/blitzgl.mod/blitzgl.linux.c:35: error: previous implicit declaration of 'bglDeleteContext' was here
Build Error: failed to compile /home/greg/BlitzMAX/mod/brl.mod/blitzgl.mod/blitzgl.linux.c
Process complete

now recompiling the modules is OK
but compiling test program give the same error...

the linker says always "Skipping incompatible ... appstub.a"

hi all
@Floyd : i've got Athlon 1,4ghz, W2K SP4, 1Ghz RAM, Graphic card : ELSA Gladiac 920 GeForce3 64 Mb
Gcc version 3.4.2-20040916-1

@GregBUG
same pb, how did you fixed the errors ?
thanks

for error in system.linux.c
.1 Move the proc "bbSystemPoll()" (at line 171) before the proc "bbSystemWait()" (at line 161)

for error in blitzgl.linux.c
- move proc "bglDeleteContext()" (at line 285 ) before proc bglExit() (line 35)

and now the modules compiles...
but NOTE that i think that is a gcc (3.4.2. xxxx) problem.

Thanks Gianluca
ok for me (win)
:)