You don't need to know which headers/libraries are needed ;-)
gnustep-make
does it all for you. If you just need to compile that main()
function,
copy the following stuff
...
Thanks Nicola, I tried something similiar earlier on too. However, I
am getting the same error:
Test.m: In function `main':
Test.m:3: error: `pool' undeclared (first use in this function)
Test.m:3: error: (Each undeclared identifier is reported only once
Test.m:3: error: for each function it appears in.)
Test.m:4: error: `NSString' undeclared (first use in this function)
Test.m:4: error: `path' undeclared (first use in this function)
Test.m:4: error: cannot find interface declaration for
`NSConstantString'