← Back to team overview

yade-users team mailing list archive

Re: About 64 bit compilation switch of YADE


> I think scons has a flag to compile with AMD64 CXXFLAGS = '-fPIC', I dont know if it answer your question

Sorry, this is nonsense. g++ as is normally installed compiles for the 
system (guest) architecture and cannot compile for any other arch. (It 
is different if you have cross-compiler installed, but if you do, you 
know what you're doing). -fPIC instructs the compiler to emit 
position-independent code (PIC), which is (acidentally) required for 
shared libs on AMD64, but by itself doesn't signify any architecture. 
See man gcc.

Feng, I sitll don't understand what problem do you have.


Yade-users mailing list

Follow ups