The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Executable file tonet Shell Programming and Scripting 3 01-17-2008 08:03 AM
Executable files nervous UNIX for Dummies Questions & Answers 9 10-30-2007 12:44 AM
launch an executable from a C++ program nadiamihu High Level Programming 2 11-03-2006 01:59 AM
request born script for creting backup files vinaysamineni Shell Programming and Scripting 6 09-15-2005 09:46 AM
TK executable? anent UNIX for Dummies Questions & Answers 3 01-03-2002 06:52 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2006
Registered User
 

Join Date: Mar 2006
Posts: 45
Creting 64-bit executable

Hi
I am using solaris 8 and I need to create 64-bit executable 'lsof'.
what is the cc equivalent option? and
how to check whether my compiler supports 64-bit executables or not?

Thanks in advance
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-09-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 356
try -m64 switch, e.g.
$ cc test.c -o test -m64
If this mode is not supported then you'll recieve message like
test.c:1: sorry, unimplemented: 64-bit mode not compiled in
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0