looks to me like -lobjc means you've setup your project to link with the
objective c library. Since I assume you are attempting to code either a
C or C++ program, remove the reference to link the objc library. I
believe that: g++: -lobjc: linker input file unused since linking not
done may mean that '..you asked to link objc, but your code doesn't use
it, so i'm not linking it to your program'..
=20
=20
=20
reid=20
-----Original Message-----
From: B.Alexandrov [mailto:boj...@ya...]=20
Sent: Friday, January 23, 2004 12:17 AM
To: Reid Thompson
Subject: Re: [Dev-C++] Windows XP Home edition
=09
=09
Please if you can tell me what to do - I recieve after execution
of the program the :
g++: -lobjc: linker input file unused since linking not done
What this means and what to do to have working program not only
under Linox?
Thank you=20
B.Alexandrov
=09
Reid Thompson <rei...@at...> wrote:
did you define your project as a C project, or a C++
project?
stdio.h is a C header file -- cstdio is the C++
implementation of same.
=09
Scott Simontis wrote:
=09
> B.Alexandrov wrote:
>=20
>> Thank you so much for your attention! The code is
simply:
>>=20
>> #include=20
>> int main()
>> {
>> return 0;
>> }
>> And the message is:
>>
>> C:\DEV-C_~1\Bin\ld.exe: warning: cannot find entry
symbol=20
>> _WinMainCRTStartup; defaulting to 00401000
>>
>> C:\DOCUME~1\BOIANA~1\LOCALS~1\Temp\ccIbdaaa.o: In
function `main':
>>
>> //c/disk/source/hello.cpp:4: undefined reference to
`__main'
>>
> I get no errors. I compiled it under Microsoft Visual
C++ .NET./=20
> However, with Dev-C++ 4.9.8.5, I get an error about
there being no make=20
> target for the .o file. I have no clue what is wrong.
The only thing I=20
> changed was typing #include instead of #include=20
>=20
>> */age...@co.../* wrote:
>>
>> May I see the code you are having trouble with?
>>
>> --
>> ~~Scott Simontis~~
>> Programmer
>>
>>
------------------------------------------------------------------------
>> Do you Yahoo!?
>> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>>=20
>=20
>=20
>=20
=09
_____ =20
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
<http://us.rd.yahoo.com/evt=3D21608/*http://webhosting.yahoo.com/ps/sb/> =
|