Re: GCC Options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx>
>>> 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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux