noob; First time compiling, can anyone help? [message #207138] |
Tue, 24 April 2007 18:09  |
Eclipse User |
|
|
|
Originally posted by: muscles641.yahoo.com
I am trying to compile code provided by Intel UPNP. As I understand the
process, I should do the following:
Start Eclipse
File/New/Standard Make C++ Project
Import/File System/select directory
Properties/Make Build/ deselect all option
I should be able to build this now, but the only thing that gets built is
main.o
Can someone please set me through the process
Here is the contents of the folder.
ILibAsyncServerSocket.c
ILibAsyncServerSocket.h
ILibAsyncSocket.c
ILibAsyncSocket.h
ILibParsers.c
ILibParsers.h
ILibWebClient.c
ILibWebClient.h
Main.c
Main.h
Makefile
Makefile contains
#
# Intel's UPnP MicroStack/1.0, Sample MakeFile */
# Intel Device Builder - Build#1.0.1868.18043
#
# List all object files here
OFILES = \
Main.o \
ILibParsers.o\
ILibAsyncSocket.o\
ILibAsyncServerSocket.o\
ILibWebClient.o\
ILibWebServer.o\
UPnPMicroStack.o
# Compiler command name
CC = gcc
# Compiler flags applied to all files
CFLAGS = -Os -Wall -D_POSIX -D_DEBUG -D_VERBOSE
LIBS = -lpthread -lm
# Name of the executable
EXENAME = Main
# Builds all object files and executable
${EXENAME} : $(OFILES)
$(CC) $(CFLAGS) -o ${EXENAME} $(OFILES) $(LIBS)
# Macro rule for all object files.
$(OFILES) : \
UPnPMicroStack.h
# Clean up
clean :
rm -f $(OFILES) ${EXENAME} ${EXENAME}.exe
|
|
|
Re: noob; First time compiling, can anyone help? [message #207363 is a reply to message #207138] |
Wed, 25 April 2007 04:16  |
Eclipse User |
|
|
|
Jeff wrote:
> I am trying to compile code provided by Intel UPNP. As I understand
> the process, I should do the following:
> Start Eclipse
> File/New/Standard Make C++ Project
> Import/File System/select directory
> Properties/Make Build/ deselect all option
>
> I should be able to build this now, but the only thing that gets built
> is main.o
>
> Can someone please set me through the process
You better ask this on the CDT newsgroup.
Dani
>
> Here is the contents of the folder.
> ILibAsyncServerSocket.c
> ILibAsyncServerSocket.h
> ILibAsyncSocket.c
> ILibAsyncSocket.h
> ILibParsers.c
> ILibParsers.h
> ILibWebClient.c
> ILibWebClient.h
> Main.c
> Main.h
> Makefile
>
> Makefile contains
> #
> # Intel's UPnP MicroStack/1.0, Sample MakeFile */
> # Intel Device Builder - Build#1.0.1868.18043
> #
>
> # List all object files here
> OFILES = \
> Main.o \
> ILibParsers.o\
> ILibAsyncSocket.o\
> ILibAsyncServerSocket.o\
> ILibWebClient.o\
> ILibWebServer.o\
> UPnPMicroStack.o
>
> # Compiler command name
> CC = gcc
>
> # Compiler flags applied to all files
> CFLAGS = -Os -Wall -D_POSIX -D_DEBUG -D_VERBOSE
> LIBS = -lpthread -lm
> # Name of the executable
> EXENAME = Main
>
> # Builds all object files and executable
> ${EXENAME} : $(OFILES)
> $(CC) $(CFLAGS) -o ${EXENAME} $(OFILES) $(LIBS)
>
> # Macro rule for all object files.
> $(OFILES) : \
> UPnPMicroStack.h
>
> # Clean up
> clean :
> rm -f $(OFILES) ${EXENAME} ${EXENAME}.exe
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09763 seconds