[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNUstep-make and C++ projects...
From: |
Jiva DeVoe |
Subject: |
GNUstep-make and C++ projects... |
Date: |
Fri, 29 Feb 2008 16:54:25 -0700 |
Is it possible to use GNUstep-make for just plain old C++ projects
with no other involvement with GNUstep?
I tried making a ctool, and I get linker errors when I try.
My stuff looks like this:
include $(GNUSTEP_MAKEFILES)/common.make
CTOOL_NAME = LogTest
LogTest_CC_FILES = source.cc
include $(GNUSTEP_MAKEFILES)/ctool.make
#include <iostream>
int main (int argc, char *argv)
{
std::cout << "foo" << std::endl;
return 0;
}
and the error I get is:
Making all for ctool LogTest...
Linking ctool LogTest ...
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o: In function
`_start':
../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [shared_obj/LogTest] Error 1
make: *** [LogTest.all.ctool.variables] Error 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GNUstep-make and C++ projects...,
Jiva DeVoe <=