You are not logged in.
Pages: 1
Hi, I'm developing software using g++ for compilation, and I figured that the binaries I compile on my arch system (using the latest gcc, 4.5.1) can't run on systems with older gcc (for example on debian which uses 4.3).
So I search AUR for some older versions and found this: http://aur.archlinux.org/packages.php?ID=26807 but I have one question before I install it - will it replace my latest gcc build? Or will I be able to invoke my latest gcc version normally and the older package by some 'gcc43' command?
Thanks!
My Elegant Pattern GTK theme.
My game development blog, now on a new site.
'~/.xinitrc is an Archer's DE' - moljac024
Offline
The configure line has "--program-suffix=-${_ver}". So you will run "gcc-4.3". An older gcc will probably not be your only issue...
Offline
Thanks, and yes, distributing precompiled software for Linux is a pain, but currently I don't have any major problems aside from that one (I had to include stdc++ in the package for it to work on systems with older gcc)
My Elegant Pattern GTK theme.
My game development blog, now on a new site.
'~/.xinitrc is an Archer's DE' - moljac024
Offline
You can save yourself some hassle by linking with -static. Static linking of libstdc++ may be a bit harder than others, but it can work, and that way you don't have to worry about version incompatibilities (at the cost of a possibly larger binary, etc.).
Offline
Pages: 1