LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2014, 12:45 PM   #1
SUMMI
LQ Newbie
 
Registered: Aug 2013
Posts: 4

Rep: Reputation: Disabled
Gem5 simulator program compilation Issue


Hello everyone i am working over Gem 5 simulator on ubuntu OS and i need to compile any c++ program with static flag for this i am using this command ([/work/gem5] alpha-linux-gnueabi-gcc –DUNIX –o queens queens.c –static ) where queens.c is my c file but i am unable to do that because every time it is showing as command not found , I have also tried to install it through sudo apt-get but it is not working. Kindly help
 
Old 03-02-2014, 01:42 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,686

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
--enable-shared=no
--enable-static=yes
 
  


Reply

Tags
compile error, linux command, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation issue in c program daredevil_1981 Linux - Newbie 3 10-08-2011 01:40 AM
NCTUNS Simulator program. linux_007 Linux - Software 0 04-19-2009 11:48 AM
Load simulator program? cferron Linux - Software 1 06-14-2006 09:20 AM
c program compilation harun_acs Programming 3 03-18-2004 10:29 AM
Compilation of Program? drdroid Programming 5 12-09-2003 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration