no IDE compilation etc

Login to reply to this topic.
Tue, 2006-02-14 16:51
Joined: 2005-11-28
Forum posts: 101
Hey
Im wondering if can i compile,make,build my project without any IDE. For now i have CW and SDK supp CW and all works fine.
I v read tones of tutorials how easy is building a project with symbian...
bldmake bldfiles
then
abld build wins udeb
but that doesnt work... it says me tons of errors...but abld build winscw udeb works fine...
I guess i have to download SDK not supporting any IDE ? (but there is no such or i cant see it ) or what ? ;/
I m a bit confused couse i want to write my project in NOTEPAD (very easy project) and build it with free SDK not use any IDE. (not even use free IDE)
I v tried to abld build wins udeb Example helloworld and i got errors so thats not project error i think but sdk...
Can u tell  me how can i do all stuff from bld.inf to sis file without IDE ?

Thank YOU very much !
BG

Tue, 2006-02-14 22:06
Joined: 2004-10-31
Forum posts: 92
Re: no IDE compilation etc
As I understand it, you can build for target hardware (ie abld bld armi) without having an IDE because every Symbian OS SDK contains the free gcc compiler invoked by this command.

But you need to have either DevStudio (for WINS builds) or CodeWarrior installed to build for the emulator, because these are invoked by abld build wins or abld build winscw respectively.

So, yes you can can compile and test your project without an IDE by writing it in notepad and compiling for hardware.  You just won't be able to build and test for the emulator.  This is OK except it makes it a heck of a lot harder to debug  Cry

However, carbide.c++ Express will be free and allow you to do emulator development for S60 2nd and 3rd Edition and UIQ.  More info here: http://www.forum.nokia.com/main/0,6566,1_84,00.html

Tue, 2006-02-14 22:46
Joined: 2005-11-28
Forum posts: 101
Re: no IDE compilation etc
thx for answer...
I understand that when i have 'clear' computer (without any IDE installed nor DevStudio) and i install SDK, write my project in Notepad and make it for armi urel it ll works.

But now lets get back to the emulator thing..
Iv make some google and still not sure i guess DevStudio is something from microsoft ? where can i find it and is it free ?
And the second thing...
I have no IDE i use notepad and make build for armi urel and sell my sis file on market. It is legal.
But lets say i use free CW version on second computer and i test it on emulator. I dont sell THIS project but i sell stuff 'from' notepad from second comp... is it still legal ?

Thanks again
BG
Wed, 2006-02-15 01:55
Joined: 2004-10-31
Forum posts: 92
Re: no IDE compilation etc
Hi again

>DevStudio is something from microsoft ? where can i find it and is it free ?

Yes, MS Visual Studio comes from Microsoft.  And no, it's not free, as far as I know, though there may be cheap copies around for students.  The latest version is called Visual Studio .NET, previous versions are often referred to as MSDEV.  It is the C++ compiler that comes with this IDE that is invoked when you call abld build wins, so if you don't have it installed, you won't get a working WINS build.

I have no idea about your second question because, praise be, I'm not a lawyer  Cheezy
Wed, 2006-02-15 08:38
Joined: 2004-07-01
Forum posts: 26
Re: no IDE compilation etc
To compile for the emulator you need a Win32 compiler but you can download for free the Visual C++ Toolkit - the command line Visual C++ compiler. See http://www.newlc.com/article.php3?id_article=463 for instructions how to compile for the WINS emulators. There is only one thing that is outdated - the dumpbin.exe is no longer shipped with the Platform SDK but you can download it from http://pf128.krakow.sdi.tpnet.pl/symbdev/. At that site there is also a plug-in for Symbian development under the free Eclipse IDE.

There is also a free command-line version of the CodeWarrior compiler as described here: http://www.newlc.com/article.php3?id_article=914. As I understand it can be used with WINSCW emulators but I haven't tried it.

mikolajz

Wed, 2006-02-15 12:08
Joined: 2005-11-28
Forum posts: 101
Re: no IDE compilation etc
wow thx for links.. helped lot.. shame on me i didnt find them when googling Smiley

Couse im not a layer too im wondering if can i use free tools for comercial use or they r free only for non-comercial use mabye you know something about it ? Smiley
Wed, 2006-02-15 12:15
Joined: 2004-07-01
Forum posts: 26
Re: no IDE compilation etc
As far as I know the Visual C++ Toolkit is free of charge for both commercial and non-commercial usage. I'd expect that with CodeWarrior command line tools it's the same but you would need to check the license. Eclipse and the plug-in are open source so they can be used for commercial purposes.

mikolajz

Wed, 2006-02-15 16:22
Joined: 2005-11-28
Forum posts: 101
Re: no IDE compilation etc
Thats cool.
But open source license is not so good for comercial use... as i know u can sell yours projects but u need to open your source to any1 who want it.

BG
Wed, 2006-02-15 18:00
Joined: 2004-07-01
Forum posts: 26
Re: no IDE compilation etc
The license of the plug-in says you need to give the source if you modify the source of the plug-in itself. It doesn't force you to release the source of the programs you write with the plug-in (e.g. most of ARM builds of Symbian program are done with the open source GCC compiler but that doesn't mean they are open source).

Eclipse is released under an even more liberal license that allows you to use it in commercial applications.

mikolajz

Thu, 2006-02-16 23:07
Joined: 2005-11-28
Forum posts: 101
Re: no IDE compilation etc
hmm as i know the free source license says taht u need to open your source to any1 who want it... so u can sell it but if some1 want to see your source u need to show him... mabye im wrong but thats what i know about GPL Smiley

P.S. mnie sie wydaje czy jestes z Polski ? Smiley
Thu, 2006-02-16 23:13
Joined: 2004-07-10
Forum posts: 364
Re: no IDE compilation etc
Even if it were true that if your code is developed using open source tools then your code also becomes open source, how would anybody buying your code know what tools it had been developed with anyway?
Fri, 2006-02-17 01:06
Joined: 2004-07-01
Forum posts: 26
Re: no IDE compilation etc
Yes. The GPL says that a program can be sold under the GPL license but the source code must be also provided and anyone that received the code can modify/distribute/sell it. But you are not forced to license your programs under the GPL. You would need to if you would include a single line of a GPL program - to include someones code you must have the authors permission and as stated in the GPL the autor agrees to include his code if the result is under the GPL. However merly using GPL tools doesn't force you to license your programs under the GPL.

There are also other open source licences. E.g. Eclipse is under the Eclipse Public License that allows you to include the code even in some commercial programs without giving out the source.

Quote
P.S. mnie sie wydaje czy jestes z Polski ?
Dobrze ci się wydaje Smiley. Jeżeli chcesz mój adres e-mail to wyślij PM.

mikolajz

  • Login to reply to this topic.