Ok,Excuse me
It is the g++-linux for cygwin 2.5
And what is SPEC and how can i do the thing you mentioned?
thanks again
Try to be useful for your society,not important.
------------------------------------------------------
Every thing that has a beginning,Has an end.
when qmake generates the make files it has to know for what plattform it should be done, so use QMAKESPEC or the -spec flag to set your environment: linux-***. then normaly run make under cygwin and all should be done.
I entered commands below in my project directory:
then inside the cygwin shell ,in the project directory,I entered the make command but it answered:qmake -project
qmake -spec linux-g++ calc++.pro
what should i do?Makefile:104: *** multiple target patterns. Stop.
And I thought I should use a cross-compiler like cygwins g++-linux.
And could you explain about the OS modes in qmake?
thanks
Last edited by Dante; 8th May 2009 at 11:53.
Try to be useful for your society,not important.
------------------------------------------------------
Every thing that has a beginning,Has an end.
You know.I really need the answer of this question.thanks again
Try to be useful for your society,not important.
------------------------------------------------------
Every thing that has a beginning,Has an end.
i think a cross-compiler is one which compiles for a particular target machine/architecture, not the host machine.. what is the target for your cross compiler
Its Linux and my goal is exactly compiling for a target OS.
Try to be useful for your society,not important.
------------------------------------------------------
Every thing that has a beginning,Has an end.
I'm going to ask the dumb question here: Leaving Qt aside for the moment, have you been able to cross-compile a simple Hello World application on Windows for Linux?
With your last Makefile error you could try looking at the output of to see what it is actually trying to do.
It gives the same error with the difference that it prints 66 instead of 104 and it is the same with make itself,too.
Try to be useful for your society,not important.
------------------------------------------------------
Every thing that has a beginning,Has an end.
Bookmarks