The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 12:03 PM
Executable files nervous UNIX for Dummies Questions & Answers 9 10-30-2007 04:44 AM
launch an executable from a C++ program nadiamihu High Level Programming 2 11-03-2006 05:59 AM
request born script for creting backup files vinaysamineni Shell Programming and Scripting 6 09-15-2005 12:46 PM
TK executable? anent UNIX for Dummies Questions & Answers 3 01-03-2002 10:52 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-09-2006
axes axes is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 49
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
  #2 (permalink)  
Old 07-09-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0