GCC 4.x or 3.x
Archives Forums/Linux Discussion/GCC 4.x or 3.x
| ||
Well, this was a fun ride. On my "old" Linux system, I ran BlitzMax with GCC 4.x, with no problems at all. Everything worked as I'd expect it to. So now I get a new system, install Unbuntu fresh, and expect to happily get on with work in the same way. I do a full rebuild of modules. All my apps crash, at seemingly random places, but interestingly each always nukes at the same place... it might be on a New assignment, or a function call, or whatever. I tried tracking it down, but I don't really have time at the moment - too far behind in my Linux bug fixing... And unfortunately, since FASM doesn't output anything useful for gdb all I have to go on is a backtrace with no-name functions... ... so I install gcc3.x, rebuild everything, and funnily enough it is all working. But gcc4.x used to work... Oh well, for now, I'll be working on 3.x :-p |
| ||
Are you compiling with a tweaked version of bmk (by placing the correct gcc version on approx. line 155 of bmk_util.bmx)? I'm not having any problems using gcc4.x on my Ubuntu 8.04 PC after I replaced the executables and performed a "Rebuild All Modules". |
| ||
Tweaked? No. I just made symlinks as usual. |
| ||
I just made symlinks as usual. That's a bit too advanced Linux for me... Have you tried the method I gave above? |
| ||
Tweaked? No. I just made symlinks as usual. Ahh, when I tried to symlink to my windowsxp blitzmax installation mod folder, it crashed like crazy (but with gcc 3.3). It seems it was changing folder names and all sorts of wacky things. |
| ||
Well, I dunno why they don't compile properly under 4.x now... very strange indeed. I think bmk needs a bit of an overhaul... |