1748283 Members
4029 Online
108761 Solutions
New Discussion юеВ

64bit with gcc

 
SOLVED
Go to solution
devshlom
Regular Advisor

64bit with gcc

Hi,
How do I compile an app / shared lib with 64bit?
I think my compiler doesn't support this option - when I specify -mlp64, I got:
"cc1plus: error: unrecognized command line option "-mlp64""
What can I do to generate such exe/sl?

tx,
s
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: 64bit with gcc

Shalom,

http://gcc.gnu.org/ml/gcc-help/2005-09/msg00032.html

http://www.cyberciti.biz/tips/compile-32bit-application-using-gcc-64-bit-linux.html

http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/building.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor
Solution

Re: 64bit with gcc

See your other thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1351333
http://www.hp.com/go/gcc

You need to download HP's gcc compiler which has separate 32 and 64 bit versions for PA.