Re: One problem for gcc compile object-c on windows 7

Richard Frith-Macdonald <[email protected]> Tue, 2 Sep 2014 12:49:38 +0100
Newsgroups gmane.comp.lib.gnustep.announce
Message-ID <71345980-4471-43C4-AB3F-95F6B7329325__25545.153549365$1409667382$gmane$org@gmail.com>
--===============4948678391461226917==
Content-Type: multipart/signed; boundary="Apple-Mail=_DB34B801-DE51-499D-ABE8-032991DD1232"; protocol="application/pgp-signature"; micalg=pgp-sha1


--Apple-Mail=_DB34B801-DE51-499D-ABE8-032991DD1232
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 2 Sep 2014, at 06:56, [email protected] wrote:
>=20
> Hi all,
>=20
> I am a newbie for object-c, I am study object-c on windows 7, as I =
found http://www.gnustep.org/experience/Windows.html is very useful for =
me, so I setup the environment as it said: install MinGW and GNUstep =
Core, then I can use gcc to compile the first object-c program which do =
not include any foundation header files, like <Foundation/NSObject.h>.
>=20
> But the problem is that I can not write any code actually, as gcc can =
not find all of foundation header files.
> If my code include <Foundation/NSObject.h>, gcc will pop out error =
like:=20
>  fatal error, Foundation/Foundation.h: No such file or directory
>  compilation terminated.
>=20
> Does any body can help me for this problem? Thank you very much.
>=20
> BTW, I have installed Cygwin before install MinGW and GNUstep Core, =
does it conflict with MinGW?

How are you building your code?  You need to use gnustep-make to do =
that.
See http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/ for a =
tutorial on how to get started.

--Apple-Mail=_DB34B801-DE51-499D-ABE8-032991DD1232
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlQFrtIACgkQjhAwPiID6I8p4QCfa2vuZ3JefKyr5JBstq81Dqku
wDcAoJhCb3ghgoQBVZ3/IjydUf7YiriH
=2pel
-----END PGP SIGNATURE-----

--Apple-Mail=_DB34B801-DE51-499D-ABE8-032991DD1232--


--===============4948678391461226917==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Info-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnustep

--===============4948678391461226917==--