yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00692
Re: About 64 bit compilation switch of YADE
Vaclav:
Sorry for the late reply, actually the problem is already solved, when I was connecting YADE with another 64 bit code on the 64 bit machine, several error raised due to the 64 bit library compatibility (error message complaining about cannot find stdc++ library, originally I thought was the 64bit compiler switch, later found that I have to add the compilation path /lib64/XXX to the LIBPATH variable using LIBPATH=env['LIBPATH']+ /lib64/XXX.
Thanks for clearing the concept!
-----Original Message-----
From: yade-users-bounces@xxxxxxxxxxxxxxxx on behalf of Václav Smilauer
Sent: Mon 11/5/2007 3:43 AM
To: yade-users@xxxxxxxxxxxxxxxx
Subject: Re: [Yade-users] 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 javascript:SetCmd(cmdSend);
Send
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.
Vaclav
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
Follow ups
References
-
Functions of MetaDispatchingEngine (1D, 2D)
From: Kien Dang, Mr, 2007-10-11
-
Re: Functions of MetaDispatchingEngine (1D, 2D)
From: Bruno Chareyre, 2007-10-11
-
Re: Functions of MetaDispatchingEngine (1D, 2D)
From: Kien Dang, Mr, 2007-10-12
-
Multi stages
From: Kien Dang, Mr, 2007-10-22
-
About 64 bit compilation switch of YADE
From: Chen, Feng, 2007-11-02
-
Re: About 64 bit compilation switch of YADE
From: Kien Dang, Mr, 2007-11-02
-
Re: About 64 bit compilation switch of YADE
From: Václav Šmilauer, 2007-11-05