public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* help needed
@ 2009-07-27 10:17 anandulle
  2009-07-27 18:10 ` Andi Hellmund
  0 siblings, 1 reply; 29+ messages in thread
From: anandulle @ 2009-07-27 10:17 UTC (permalink / raw)
  To: gcc-help


hello 
              can any one tell me what is the DIR structure  of TREE_CODE
i've searched in the tree.def files but not able to find out kindly help.
-- 
View this message in context: http://www.nabble.com/help-needed-tp24677928p24677928.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Help needed
@ 2006-03-07  2:03 wenghwee
  0 siblings, 0 replies; 29+ messages in thread
From: wenghwee @ 2006-03-07  2:03 UTC (permalink / raw)
  To: gcc-help





Hi,

I was trying to gcc a file and obtain the following error message, do you
know what is happening to the gcc command? Is it true that gcc will engage
cpp command as shown in the error message? Or do you know what is happening
as I am for sure do not know what is happening? Or do I have a bad gcc
installation

Thanks & regards,
chee

Command & Error Message:
...
ccppc -c -fno-builtin -nostdinc -DCPU=PPC604  -I/appl/Tornado/target/h -I.
wave.o
ccppc -c -fno-builtin -nostdinc -DCPU=PPC604  -I/appl/Tornado/target/h -I.
wind.o
ldppc -r -Map lnk.map -o sim *.o *.o... *.o
flex process_enums.l
gcc -o process_enums lex.yy.c -lfl
cpp: Invalid option '-lang-c'
gmake[1]: ***[syms] Error 1
...

Other info
%sun which gcc
/tools-gnu/bin/gcc
%sun /tools-gnu/bin/gcc --version
2.7.2




[This e-mail is confidential and may also be privileged. If you are not the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Help needed
@ 2005-08-25 23:40 RALPH OLD JR
  2005-08-26  5:20 ` Arturas Moskvinas
  0 siblings, 1 reply; 29+ messages in thread
From: RALPH OLD JR @ 2005-08-25 23:40 UTC (permalink / raw)
  To: gcc-help

Hi!
I'm trying to set up gcc and rhide to learn C and C++.
I have downloaded the recommended files for my system, set them up as per 
the instructions.

My beginning program compiles with out error.

But the Make command in rhide produces the following error:

"Error: c:/djgpp?bin/ld.exe : cannot find -lgcc"

I have spent days reading the online material to no avail.

I need help!
Ralph





Ralph E. Old, Jr.
(205) 253 - 3402
RalphOld@msn.com
Security and Defense Systems


^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <20040830122911.24797.qmail@webmail17.rediffmail.com>]
* RE: help needed
@ 2004-06-08 16:22 lrtaylor
  2004-06-09  9:25 ` Claudio Bley
  0 siblings, 1 reply; 29+ messages in thread
From: lrtaylor @ 2004-06-08 16:22 UTC (permalink / raw)
  To: bley, gcc-help

main returns an int, but the void in the parameter list is not
necessary.  "int main()" is equivalent.

Thanks,
Lyle


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Claudio Bley
Sent: Tuesday, June 08, 2004 4:17 AM
To: gcc-help@gcc.gnu.org
Subject: Re: help needed


> void main ()

This *needs* to be "int main(void)".


^ permalink raw reply	[flat|nested] 29+ messages in thread
* help needed
@ 2004-06-06  2:55 Naga Raju Thogiti
  2004-06-08 10:17 ` Claudio Bley
  0 siblings, 1 reply; 29+ messages in thread
From: Naga Raju Thogiti @ 2004-06-06  2:55 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: TEXT/PLAIN, Size: 617 bytes --]

Hi,
I am writing C++ program for displaying a table of tangents given the
lower and upper limits. The program initially rounds off ( e.g if one
enters 29.58 and 30.33, it rounds off it to 29.6 and 30.3), and output the
result in a table form. I have this problem with displaying the table
completely and correctly, it was challenging for me to figure out where
was I going wrong? Can you please help me out with it.

When I entered, 29.58 30.33 it stops at 30.2, for 32 34, it stops at 33.9
but when I entered 84.14 84.44 and 89.44 89.48 it gives me correct table.
I am enlcosing the code that I wrote.

Thanks,
Nagu

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1391 bytes --]

#include <iostream.h>
#include <iomanip.h>
#include <math.h>

void main()
{
double min_Value, max_Value;
const double degtoRad = M_PI/180;
double diff;
int num_rows = 0;

cout<<"\n\n\t This program will generate tables of tangents.";
cout<<"\n\t (Enter a number >= 90 or < 0, or numbers in the wrong order, to terminate.)\n\n";

for (int i = 1;i<=10;i++)
{
 cout<<"\t ***";
}

cout<<"\n\n\t Minimum and maximum values for left column of table : ";
cin>>min_Value>>max_Value;


cout<<setiosflags(ios::fixed|ios::showpoint);

while(min_Value<=max_Value && min_Value>=0 && max_Value>=0 && min_Value<90 && max_Value<90)
{
 min_Value = floor(min_Value*10+0.5)/10.0;
 max_Value = floor(max_Value*10+0.5)/10.0;

 cout<<"\n\n\t\t\t\t Partial Table of Tangents";
 cout<<"\n\t\t ";

 for (int i = 0;i<=9;i++)
 {
  cout<<setw(8)<<i<<" ";
 }

 cout<<"\n\t";

 for (int j = 1;j<=100;j++)
 {
  cout<<"-";
 }

// cout<< "\n\t " << min_Value << " " << max_Value;
 while(min_Value <= max_Value)
 {
  cout<<"\n\t"<<setprecision(2)<<setw(8)<<min_Value<<"| ";

  for (int col = 0;col<=9;col++)
  {
   cout<<setprecision(4)<<setw(8)<<tan((min_Value + col*0.01)*degtoRad)<<" "; 
  }
  min_Value = min_Value+0.1;
 }

 //cout<<"\n\t "<<min_Value<<" "<<max_Value;
 min_Value = max_Value = 0;
 cout<<"\n\n\t Minimum and maximum values for left column of table : ";
 cin>>min_Value>>max_Value;
// num_rows = 0;

}
}



^ permalink raw reply	[flat|nested] 29+ messages in thread
* help needed
@ 2004-05-29  0:41 xuyi
  2004-05-29 19:03 ` Sumith Makam
  0 siblings, 1 reply; 29+ messages in thread
From: xuyi @ 2004-05-29  0:41 UTC (permalink / raw)
  To: gcc-help

Hi
Please clarify whether i can install gcc2.95 on Redhat Linux 8. How to
downgrade gcc 3.2 to gcc 2.95 .
Thank


^ permalink raw reply	[flat|nested] 29+ messages in thread
* Help Needed
@ 2004-04-28  5:19 Prashant S Kulkarni
  2004-04-28 17:51 ` David Edelsohn
  0 siblings, 1 reply; 29+ messages in thread
From: Prashant S Kulkarni @ 2004-04-28  5:19 UTC (permalink / raw)
  To: dje, gcc-help


Hi,
I am compiling xerces-c25.0 using gcc 3.0 on AIX 4.2.2 and i have all objects
file created. But when while linking all .o file  I am getting error...

AIX uses makeC++SharedLib for shared lib creation. Can you please tell me what
option or which compiler in gcc suite should I use to create shared lib for
above on gcc??.

I am getting the error as follows. Any help is really appreciated..

Thanks,
Prashant

Here is the package tar file for xercec:   xerces-c-src_2_5_0





gmake[1]: Entering directory `/home/pkulka/poc/xerces-c-src_2_5_0/obj'
Building /home/pkulka/poc/xerces-c-src_2_5_0//lib/libxerces-c25.0.a
/home/pkulka/poc/bin/bin/gcc -p 5000   -o
/home/pkulka/poc/xerces-c-src_2_5_0//lib/libxerces-c25.0.a
AIX/AIXPlatformUtils.o AIX/ASCIIRangeFactory.o AIX/AbstractDOMParser.o
AIX/AbstractNumericFacetValidator.o AIX/AbstractNumericValidator.o
AIX/AbstractStringValidator.o AIX/AllContentModel.o
AIX/AnySimpleTypeDatatypeValidator.o AIX/AnyURIDatatypeValidator.o
AIX/AttrImpl.o AIX/AttrMapImpl.o AIX/AttrNSImpl.o AIX/BMPattern.o AIX/Base64.o
AIX/Base64BinaryDatatypeValidator.o AIX/BinFileInputStream.o
AIX/BinFileOutputStream.o AIX/BinInputStream.o AIX/BinMemInputStream.o
AIX/BinMemOutputStream.o AIX/BinOutputStream.o AIX/BitSet.o
AIX/BlockRangeFactory.o AIX/BooleanDatatypeValidator.o AIX/CDATASectionImpl.o
AIX/CMAny.o AIX/CMBinaryOp.o AIX/CMUnaryOp.o AIX/CharToken.o
AIX/CharacterDataImpl.o AIX/ChildNode.o AIX/ClosureToken.o AIX/CommentImpl.o
AIX/ComplexTypeInfo.o AIX/ConcatToken.o AIX/ConditionToken.o
AIX/ContentLeafNameTypeVector.o AIX/ContentSpecNode.o AIX/DFAContentModel.o
AIX/DGXMLScanner.o AIX/DOMAttrImpl.o AIX/D
OMAttrMapImpl.o AIX/DOMAttrNSImpl.o AIX/DOMBuilderImpl.o
AIX/DOMCDATASectionImpl.o AIX/DOMCharacterDataImpl.o AIX/DOMChildNode.o
AIX/DOMCommentImpl.o AIX/DOMConfigurationImpl.o AIX/DOMDeepNodeListImpl.o
AIX/DOMDocumentFragmentImpl.o AIX/DOMDocumentImpl.o AIX/DOMDocumentTypeImpl.o
AIX/DOMElementImpl.o AIX/DOMElementNSImpl.o AIX/DOMEntityImpl.o
AIX/DOMEntityReferenceImpl.o AIX/DOMErrorImpl.o AIX/DOMException.o
AIX/DOMImplementationImpl.o AIX/DOMImplementationRegistry.o
AIX/DOMLocatorImpl.o AIX/DOMNamedNodeMapImpl.o AIX/DOMNodeIDMap.o
AIX/DOMNodeImpl.o AIX/DOMNodeIteratorImpl.o AIX/DOMNodeListImpl.o
AIX/DOMNodeVector.o AIX/DOMNormalizer.o AIX/DOMNotationImpl.o
AIX/DOMParentNode.o AIX/DOMParser.o AIX/DOMProcessingInstructionImpl.o
AIX/DOMRangeException.o AIX/DOMRangeImpl.o AIX/DOMString.o AIX/DOMStringPool.o
AIX/DOMTextImpl.o AIX/DOMTreeWalkerImpl.o AIX/DOMTypeInfoImpl.o
AIX/DOMWriterImpl.o AIX/DOMXPathException.o AIX/DOM_Attr.o
AIX/DOM_CDATASection.o AIX/DOM_CharacterData.o AIX/DOM_Comment.o
AIX/DOM_DOMException
..o AIX/DOM_DOMImplementation.o AIX/DOM_Document.o AIX/DOM_DocumentFragment.o
AIX/DOM_DocumentType.o AIX/DOM_Element.o AIX/DOM_Entity.o
AIX/DOM_EntityReference.o AIX/DOM_NamedNodeMap.o AIX/DOM_Node.o
AIX/DOM_NodeFilter.o AIX/DOM_NodeIterator.o AIX/DOM_NodeList.o
AIX/DOM_Notation.o AIX/DOM_ProcessingInstruction.o AIX/DOM_Range.o
AIX/DOM_RangeException.o AIX/DOM_Text.o AIX/DOM_TreeWalker.o AIX/DOM_XMLDecl.o
AIX/DStringPool.o AIX/DTDAttDef.o AIX/DTDAttDefList.o AIX/DTDElementDecl.o
AIX/DTDEntityDecl.o AIX/DTDGrammar.o AIX/DTDScanner.o AIX/DTDValidator.o
AIX/DatatypeValidator.o AIX/DatatypeValidatorFactory.o
AIX/DateDatatypeValidator.o AIX/DateTimeDatatypeValidator.o
AIX/DateTimeValidator.o AIX/DayDatatypeValidator.o
AIX/DecimalDatatypeValidator.o AIX/DeepNodeListImpl.o AIX/DefaultPanicHandler.o
AIX/DocumentFragmentImpl.o AIX/DocumentImpl.o AIX/DocumentTypeImpl.o
AIX/DomMemDebug.o AIX/DoubleDatatypeValidator.o AIX/Dummy.o
AIX/DurationDatatypeValidator.o AIX/ENTITYDatatypeValidator.o AIX/ElemStack.o
AIX/ElementDefi
nitionImpl.o AIX/ElementImpl.o AIX/ElementNSImpl.o AIX/EncodingValidator.o
AIX/EntityImpl.o AIX/EntityReferenceImpl.o AIX/FieldActivator.o
AIX/FieldValueMap.o AIX/FloatDatatypeValidator.o AIX/GCCDefs.o
AIX/GeneralAttributeCheck.o AIX/Grammar.o AIX/GrammarResolver.o AIX/HashPtr.o
AIX/HashXMLCh.o AIX/HeaderDummy.o AIX/HexBin.o AIX/HexBinaryDatatypeValidator.o
AIX/IC_Field.o AIX/IC_Key.o AIX/IC_KeyRef.o AIX/IC_Selector.o AIX/IC_Unique.o
AIX/IDDatatypeValidator.o AIX/IDREFDatatypeValidator.o AIX/IGXMLScanner.o
AIX/IGXMLScanner2.o AIX/IconvTransService.o AIX/IdentityConstraint.o
AIX/InMemMsgLoader.o AIX/InputSource.o AIX/KVStringPair.o
AIX/ListDatatypeValidator.o AIX/LocalFileFormatTarget.o
AIX/LocalFileInputSource.o AIX/Match.o AIX/MemBufFormatTarget.o
AIX/MemBufInputSource.o AIX/MemoryManagerArrayImpl.o AIX/MemoryManagerImpl.o
AIX/MixedContentModel.o AIX/ModifierToken.o AIX/MonthDatatypeValidator.o
AIX/MonthDayDatatypeValidator.o AIX/Mutexes.o AIX/NCNameDatatypeValidator.o
AIX/NOTATIONDatatypeValidator.o AIX/Nam
eDatatypeValidator.o AIX/NamedNodeMapImpl.o AIX/NamespaceScope.o
AIX/NodeIDMap.o AIX/NodeImpl.o AIX/NodeIteratorImpl.o AIX/NodeListImpl.o
AIX/NodeVector.o AIX/NotationImpl.o AIX/Op.o AIX/OpFactory.o
AIX/PSVIAttribute.o AIX/PSVIAttributeList.o AIX/PSVIElement.o AIX/PSVIItem.o
AIX/PanicHandler.o AIX/ParenToken.o AIX/ParentNode.o AIX/ParserForXMLSchema.o
AIX/PlatformUtils.o AIX/ProcessingInstructionImpl.o AIX/QName.o
AIX/QNameDatatypeValidator.o AIX/RangeFactory.o AIX/RangeImpl.o
AIX/RangeToken.o AIX/RangeTokenMap.o AIX/ReaderMgr.o AIX/RefCountedImpl.o
AIX/RegularExpression.o AIX/RegxParser.o AIX/RegxUtil.o AIX/SAX2XMLReaderImpl.o
AIX/SAXException.o AIX/SAXParseException.o AIX/SAXParser.o AIX/SGXMLScanner.o
AIX/SchemaAttDef.o AIX/SchemaAttDefList.o AIX/SchemaElementDecl.o
AIX/SchemaGrammar.o AIX/SchemaInfo.o AIX/SchemaSymbols.o AIX/SchemaValidator.o
AIX/SimpleContentModel.o AIX/SocketNetAccessor.o AIX/StdInInputSource.o
AIX/StdOutFormatTarget.o AIX/StringDatatypeValidator.o AIX/StringPool.o
AIX/StringToken.o AIX
/SubstitutionGroupComparator.o AIX/SynchronizedStringPool.o AIX/TextImpl.o
AIX/TimeDatatypeValidator.o AIX/Token.o AIX/TokenFactory.o AIX/TransService.o
AIX/TraverseSchema.o AIX/TreeWalkerImpl.o AIX/URLInputSource.o
AIX/UnicodeRangeFactory.o AIX/UnionDatatypeValidator.o AIX/UnionToken.o
AIX/UnixHTTPURLInputStream.o AIX/ValidationContextImpl.o AIX/ValueStore.o
AIX/ValueStoreCache.o AIX/VecAttrListImpl.o AIX/VecAttributesImpl.o
AIX/WFXMLScanner.o AIX/Wrapper4DOMInputSource.o AIX/Wrapper4InputSource.o
AIX/XML256TableTranscoder.o AIX/XML88591Transcoder.o AIX/XMLASCIITranscoder.o
AIX/XMLAbstractDoubleFloat.o AIX/XMLAttDef.o AIX/XMLAttDefList.o AIX/XMLAttr.o
AIX/XMLBigDecimal.o AIX/XMLBigInteger.o AIX/XMLBuffer.o AIX/XMLBufferMgr.o
AIX/XMLCanRepGroup.o AIX/XMLChTranscoder.o AIX/XMLChar.o AIX/XMLContentModel.o
AIX/XMLDTDDescription.o AIX/XMLDTDDescriptionImpl.o AIX/XMLDateTime.o
AIX/XMLDeclImpl.o AIX/XMLDouble.o AIX/XMLEBCDICTranscoder.o
AIX/XMLElementDecl.o AIX/XMLEntityDecl.o AIX/XMLException.o AIX/XMLFloat.o AIX/
XMLFormatter.o AIX/XMLGrammarDescription.o AIX/XMLGrammarPoolImpl.o
AIX/XMLIBM1047Transcoder.o AIX/XMLIBM1140Transcoder.o AIX/XMLMsgLoader.o
AIX/XMLNotationDecl.o AIX/XMLNumber.o AIX/XMLRangeFactory.o AIX/XMLReader.o
AIX/XMLRecognizer.o AIX/XMLRefInfo.o AIX/XMLScanner.o AIX/XMLScannerResolver.o
AIX/XMLSchemaDescription.o AIX/XMLSchemaDescriptionImpl.o AIX/XMLString.o
AIX/XMLStringTokenizer.o AIX/XMLUCSTranscoder.o AIX/XMLURL.o
AIX/XMLUTF16Transcoder.o AIX/XMLUTF8Transcoder.o AIX/XMLUni.o
AIX/XMLUniCharacter.o AIX/XMLUri.o AIX/XMLValidator.o
AIX/XMLWin1252Transcoder.o AIX/XMemory.o AIX/XObjectComparator.o
AIX/XPathMatcher.o AIX/XPathMatcherStack.o AIX/XPathSymbols.o AIX/XProtoType.o
AIX/XSAnnotation.o AIX/XSAttributeDeclaration.o
AIX/XSAttributeGroupDefinition.o AIX/XSAttributeUse.o
AIX/XSComplexTypeDefinition.o AIX/XSDDOMParser.o AIX/XSDElementNSImpl.o
AIX/XSDErrorReporter.o AIX/XSDLocator.o AIX/XSElementDeclaration.o
AIX/XSFacet.o AIX/XSIDCDefinition.o AIX/XSModel.o AIX/XSModelGroup.o
AIX/XSModelGroupDefinit
ion.o AIX/XSMultiValueFacet.o AIX/XSNamespaceItem.o AIX/XSNotationDeclaration.o
AIX/XSObject.o AIX/XSObjectFactory.o AIX/XSParticle.o
AIX/XSSimpleTypeDefinition.o AIX/XSTypeDefinition.o AIX/XSWildcard.o
AIX/XSerializeEngine.o AIX/XTemplateComparator.o AIX/XTemplateSerializer.o
AIX/XUtil.o AIX/XercesAttGroupInfo.o AIX/XercesDOMParser.o
AIX/XercesElementWildcard.o AIX/XercesGroupInfo.o AIX/XercesXPath.o
AIX/YearDatatypeValidator.o AIX/YearMonthDatatypeValidator.o AIX/sax2Dummy.o
-bmap:/home/pkulka/poc/xerces-c-src_2_5_0//obj/libxerces-c25.0.map -lpthreads
-L/usr/lpp/xlC/lib
gcc: 5000: No such file or directory
gmake[1]: *** [/home/pkulka/poc/xerces-c-src_2_5_0//lib/libxerces-c25.0.a]
Error 1
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/home/pkulka/poc/xerces-c-src_2_5_0/obj'
gmake: *** [/home/pkulka/poc/xerces-c-src_2_5_0//lib/libxerces-c25.0.a] Error 2




American Express made the following
 annotations on 04/27/2004 10:19:40 PM
------------------------------------------------------------------------------
******************************************************************************

     "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited.  If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments.  Thank you."

******************************************************************************


==============================================================================

^ permalink raw reply	[flat|nested] 29+ messages in thread
* help needed
@ 2003-11-20 12:46 Jomy Abraham
  0 siblings, 0 replies; 29+ messages in thread
From: Jomy Abraham @ 2003-11-20 12:46 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]


hi,

I need to know few information about GNU AIX cross
compiler

1. I am working on Sun Solaris on Sparc machine.  The Target is a
powerPC with AIX as OS.  I don't have AIX compiler.  Can I use the GNU's
AIX cross compiler to build the executable for the target from Solaris
environment?

2. How can I test it from Solaris..(I mean compiler options for a simple
program? )

3. Is something more than the cross compiler is required to make the
executable run on the target.

Thanks in Advance
Regards
Jomy

[-- Attachment #2: Type: text/plain, Size: 982 bytes --]

************************************************************************

		SASKEN BUSINESS DISCLAIMER

This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.

***********************************************************************

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Help Needed
@ 2003-03-17  7:51 Dockeen
  0 siblings, 0 replies; 29+ messages in thread
From: Dockeen @ 2003-03-17  7:51 UTC (permalink / raw)
  To: gcc-help

There is one other subtle point than can come up 
here, and that is if you are compiling a C++ program,
in general, the command you need to invoke is g++,
not gcc, i.e.

g++ waynesadolt.cpp

or whatever variant you are using for the program.
g++ does some operations behind the scenes to deal with
the program being a c++ program.

Here is a decent link that will bring you up to
speed on standard header notation in C++:

http://www.cplusplus.com/doc/ansi/hfiles.html

Hope my babbling has helped...

Wayne Keen

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Help Needed
@ 2003-03-16 21:32 R.Karthik Narayanan
  2003-03-17  3:02 ` LLeweLLyn Reese
  0 siblings, 1 reply; 29+ messages in thread
From: R.Karthik Narayanan @ 2003-03-16 21:32 UTC (permalink / raw)
  To: gcc-help

Hi,
   I am R.Karthik Narayanan, I am student at UCF. I have been trying to do
programming in lunix using GCC. I find that my C programs work without any
errors. But the problems seems to happend when i do GCC for C++ programs. It
fails to find the file iostream.h. But, there is no error nad the program
compiles. But when i try to execute it using ./name of compiled file, there is
no reponse, the program doesn't run. Can u please guide me as to how solve this
problem.
-- 
R.Karthik Narayanan 





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

^ permalink raw reply	[flat|nested] 29+ messages in thread
* help needed
@ 2001-10-13  0:36 ram
  2001-10-13  1:41 ` Florian Weimer
  0 siblings, 1 reply; 29+ messages in thread
From: ram @ 2001-10-13  0:36 UTC (permalink / raw)
  To: gcc-help

hi

I have a C progam written for DEC UNIX. I am unable to compile this on
Redhat linux with gcc version gcc-2.96-81 .

I get following errors

itfrecv.c: In function `ack_funct':
itfrecv.c:389: too few arguments to function `send'
itfrecv.c: In function `errlog':
itfrecv.c:422: warning: passing arg 3 of `write' makes integer from pointer
without a cast     

the lines are as below

 389         send(sockfd, buffer, strlen(buffer));
422         write(fd, buffer, index);  

what should I change to make the program compile with gcc.

Your help will be highly appreciated.

thanx
Ram

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: help needed
@ 2000-09-26  6:30 Kazu Hirata
  0 siblings, 0 replies; 29+ messages in thread
From: Kazu Hirata @ 2000-09-26  6:30 UTC (permalink / raw)
  To: gcc-help

Hi, Brahmaiah,

> can you tell me, which architecture is clost to
> Zilog's z80 and ez80 ,on which gcc port already
> exists. ?

z8k seems to be in binutils but not in gcc.

Atmel AVR is probaably the closest one-chip microcontroller.  It has
an 8-bit architecture.  I don't think it's in gcc-2.95.2.  You have to
download the current snapshot of gcc.

For 8-bit microcontrollers in general, I've seen a bunch of freely
available assemblers.  Compilers may even be there, so gcc is not the
only one to stick with.

Hope this helps.

Kazu Hirata

^ permalink raw reply	[flat|nested] 29+ messages in thread
* help needed
@ 2000-09-26  4:44 BRAHMAIAH VALLABHANENI
  2000-09-26 21:49 ` Kiran Kumar K
  0 siblings, 1 reply; 29+ messages in thread
From: BRAHMAIAH VALLABHANENI @ 2000-09-26  4:44 UTC (permalink / raw)
  To: gcc-help

Hi ,
 can you tell me, which architecture is clost to
 Zilog's z80 and ez80 ,on which gcc port already
exists. ?

thanks

V.Brahmaiah



_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html



^ permalink raw reply	[flat|nested] 29+ messages in thread
* help needed
@ 2000-09-13  3:54 brahmaiah vallabhaneni
  0 siblings, 0 replies; 29+ messages in thread
From: brahmaiah vallabhaneni @ 2000-09-13  3:54 UTC (permalink / raw)
  To: gcc-help

 
 

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Hi all, 
Currently I am going through the documents of "Porting Gcc".  
But I have got one small basic doubt, i.e.,
how should I choose between define_expand and define_insn. 

Please, see the following two defs .These are from Sparc port. I do n't understand why they
chose define_expand for cmpsi. Please explain me this part.

Thanks and regards

V.Brahmaiah
 






(define_expand "cmpsi"
  [(set (reg:CC 100)
        (compare:CC (match_operand:SI 0 "register_operand" "")
                    (match_operand:SI 1 "arith_operand" "")))]
  ""
  "
{
  sparc_compare_op0 = operands[0];
  sparc_compare_op1 = operands[1];
  DONE;
}")



(define_insn "*cmpsi_insn"
  [(set (reg:CC 100)
        (compare:CC (match_operand:SI 0 "register_operand" "r")
                    (match_operand:SI 1 "arith_operand" "rI")))]
  ""
  "cmp\\t%0, %1"
  [(set_attr "type" "compare")])

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Help needed
@ 2000-04-09 21:24 Mahadev Cholachgudda
  0 siblings, 0 replies; 29+ messages in thread
From: Mahadev Cholachgudda @ 2000-04-09 21:24 UTC (permalink / raw)
  To: sc_zgy; +Cc: gcc-help

send mail to this id <gcc-help-unsubscribe@gcc.gnu.org>

with regards,
mahadev

-----Original Message-----
From: sc_zgy <sc_zgy@telekbird.com.cn>
To: Mahadev Cholachgudda <mahadev_kc@yahoo.com>
Date: Saturday, April 08, 2000 1:55 PM
Subject: RE: Help needed


hi,I don't wanna this mail list any more,would u please tell me how to
refuse
it?

thanks



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Help needed
@ 2000-04-07 23:07 Mahadev Cholachgudda
  0 siblings, 0 replies; 29+ messages in thread
From: Mahadev Cholachgudda @ 2000-04-07 23:07 UTC (permalink / raw)
  To: gcc-help

hi, I am facing some problems in writing the values directly into 
the memory mapped peripheral I/O registers. Is there any inbuilt 
memory-space qualifiers in the compiler to do this. Like if i write some 
values by using this memory space qualifiers to address 0xAB, it will 
directly write into 0xAB register or related register. please send the 
websites URLs or related documents URLs. thanking 
u Mahadev

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2009-07-27 18:10 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-27 10:17 help needed anandulle
2009-07-27 18:10 ` Andi Hellmund
  -- strict thread matches above, loose matches on Subject: below --
2006-03-07  2:03 Help needed wenghwee
2005-08-25 23:40 RALPH OLD JR
2005-08-26  5:20 ` Arturas Moskvinas
     [not found] <20040830122911.24797.qmail@webmail17.rediffmail.com>
2004-08-30 16:09 ` Help Needed Eljay Love-Jensen
2004-06-08 16:22 help needed lrtaylor
2004-06-09  9:25 ` Claudio Bley
2004-06-06  2:55 Naga Raju Thogiti
2004-06-08 10:17 ` Claudio Bley
2004-06-08 14:22   ` Claudio Bley
2004-05-29  0:41 xuyi
2004-05-29 19:03 ` Sumith Makam
2004-04-28  5:19 Help Needed Prashant S Kulkarni
2004-04-28 17:51 ` David Edelsohn
2003-11-20 12:46 help needed Jomy Abraham
2003-03-17  7:51 Help Needed Dockeen
2003-03-16 21:32 R.Karthik Narayanan
2003-03-17  3:02 ` LLeweLLyn Reese
2003-03-18  0:25   ` Karthik Narayanan
     [not found]   ` <1048367240.1224.51.camel@x1-6-00-e0-18-67-55-94>
2003-03-18  1:51     ` LLeweLLyn Reese
2001-10-13  0:36 help needed ram
2001-10-13  1:41 ` Florian Weimer
2000-09-26  6:30 Kazu Hirata
2000-09-26  4:44 BRAHMAIAH VALLABHANENI
2000-09-26 21:49 ` Kiran Kumar K
2000-09-13  3:54 brahmaiah vallabhaneni
2000-04-09 21:24 Help needed Mahadev Cholachgudda
2000-04-07 23:07 Mahadev Cholachgudda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).