ivan Posted August 7, 2008 Share Posted August 7, 2008 (edited) I am trying to compile a 32-bit DSO on a 64-bit machine. I've hacked the hcustom script with the following: else if ( $?AMD64 ) then set SYSTEMDEFS = "-m32 -fPIC" set OSLFLAGS = "-m32" works niceley on a machine at work. Now, I try and compile on my home machine. I had to add a -I/32_bit/usr/include/ to the compile line, and now the linker chokes: /usr/bin/ld: crti.o: No such file: No such file or directory and locate crti.o gives 2 results: /32_bit/usr/lib/crti.o /usr/lib64/crti.o I have tried adding -L /32_bit/usr/lib/ to the compile line, no dice. same error. any ideas? Edited August 7, 2008 by ivan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.