public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: manaankit2 <ankit.anand1@wipro.com>
To: gcc-help@gcc.gnu.org
Subject: Re: GCC Options
Date: Thu, 04 Aug 2011 12:53:00 -0000	[thread overview]
Message-ID: <32194123.post@talk.nabble.com> (raw)
In-Reply-To: <CAFio4NczEW1GT0RQmK7zZkCFpCeSvEorQ2MFAPudcHpn6YE5Tw@mail.gmail.com>


John Need one more help. I was trying to compile the code but i got the error
Undefined                       first referenced
 symbol                             in file

These were for certain functions for which i have some other module which
creates the lib for them.
In gcc i am providing the -l*** option where *** is the module where those
objects are available.

Can you help me to sort this issue.

Thanks for the help.
Ankit

John Graham-9 wrote:
> 
> Well, gcc (4.4.3) tells me that "-+" is an unrecognised option, so it
> may be a typo in the makefile...
> 
> 
> 
> On Thu, Aug 4, 2011 at 8:10 AM, manaankit2 <ankit.anand1@wipro.com> wrote:
>>
>> Thanx John. I mean -+ only. Anyways thanks for the help.
>>
>>
>> John Graham-9 wrote:
>>>
>>> "$<" is a make automatic variable - see
>>> http://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html#Automatic-Variables.
>>>
>>> I don't know what the "-+" switch is - I couldn't find one in the gcc
>>> man page. Are you sure you don't mean "$+"? That would be another make
>>> variable.
>>>
>>> John G
>>>
>>>
>>>
>>> On Thu, Aug 4, 2011 at 6:45 AM, manaankit2 <ankit.anand1@wipro.com>
>>> wrote:
>>>>
>>>> Hello,
>>>>
>>>> Can some one please explain to me what are these options in it.
>>>>
>>>> gcc -c -+ $< -m64 $(CCFLAGS)
>>>>
>>>> I understand -c, -m64 and $CCFLAGS but i am not able to understand the
>>>> use
>>>> of -+ and $<.
>>>>
>>>> Thanks for the help
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/GCC-Options-tp32191782p32191782.html
>>>> Sent from the gcc - Help mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/GCC-Options-tp32191782p32192112.html
>> Sent from the gcc - Help mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/GCC-Options-tp32191782p32194123.html
Sent from the gcc - Help mailing list archive at Nabble.com.

  reply	other threads:[~2011-08-04 12:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04  5:45 manaankit2
2011-08-04  6:51 ` John Graham
2011-08-04  7:10   ` manaankit2
2011-08-04  8:15     ` John Graham
2011-08-04 12:53       ` manaankit2 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-11-01  6:03 gcc options michael.shapiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32194123.post@talk.nabble.com \
    --to=ankit.anand1@wipro.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).