I have some C source that I've been dragging along with me to newer systems since 4.3BSD on a VAX . Because of its age and the fact that it started out as obfuscated code from a vendor, it is pretty much impossible to clean it up enough to compile properly in native mode on amd64. As some examples, the newest gcc that will tolerate its syntax is gcc34, it needs -fwritable_strings, and other disgusting anachronisms.
This is on 8.1-PRERELEASE.
I managed to get everything to compile nicely by adding the -m32 option to the gcc command line. However, linking isn't working, as referenced in these two old PR's:
http://www.freebsd.org/cgi/query-pr.cgi?pr=76224
http://www.freebsd.org/cgi/query-pr.cgi?pr=112215
Is the answer still "that won't work", or have there been developments since those PR's to allow this to work?
This is on 8.1-PRERELEASE.
I managed to get everything to compile nicely by adding the -m32 option to the gcc command line. However, linking isn't working, as referenced in these two old PR's:
http://www.freebsd.org/cgi/query-pr.cgi?pr=76224
http://www.freebsd.org/cgi/query-pr.cgi?pr=112215
Is the answer still "that won't work", or have there been developments since those PR's to allow this to work?