PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

any way to hack install script to enable cross-compilation?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
SpotWare...



Joined: 15 Sep 2004
Posts: 1

PostPosted: Tue Oct 05, 2004 11:21 pm    Post subject: any way to hack install script to enable cross-compilation? Reply with quote

Is it possible to hack the install script so that both linux86 and linux86-64 tools are installed on a linux86 (32-bit) system to enable the original host using node-locked license to cross-compile for linux86-64 (64-bit) targets? My understanding is that it works the other way around and it is unfortunate that I would need to move NIC's around and create additional build box just to compile for both targets. Did I miss something in install directions?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Wed Oct 06, 2004 10:38 am    Post subject: No cross compilation Reply with quote

Actually the compilers don't cross compile between 32 and 64 bits. Rather, there are two sets of compilers. When you invoke a driver (pgf90, pgcc, pgf77, pghpf) using the "-tp" switch, the driver knows which set of compilers to use. For example, on a 64-bit system you can create an executable for a P4 using "-tp p4" since the 32-bit compilers can be run on an AMD64 or EM64T. However, the 64-bit compilers can not be run on a 32-bit system since the compilers themselves are 64-bit executables.

You can have a single build box for both 32 and 64-bits, so long as the build box is 64-bits and you've installed both sets of compilers.

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group