Poster | Thread |
FuZion
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 10:46:52
| | [ #1 ] |
|
|
|
Super Member |
Joined: 22-Nov-2003 Posts: 1962
From: Birmingham, England | | |
|
| Sooooo, someone with Windows (And no A1/OS4) could compile for OS4, send the files to an Amiga owner & they could run/test etc?
This really is a guess since I'm no programmer.
FuZion. |
|
Status: Offline |
|
|
ErikBauer
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 11:11:37
| | [ #2 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| @FuZion It would be a marvellous news! ( No time to read the site now...) _________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)!
|
|
Status: Offline |
|
|
TrebleSix
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 11:51:42
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 6-Sep-2004 Posts: 3747
From: Pembrokeshire, Wales | | |
|
| Cool, the Dev C++ IDE is pretty nice. Excellent work. _________________ Dark Lord Design Wicked Solutions For Damned Problems
|
|
Status: Offline |
|
|
sg2
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 12:19:18
| | [ #4 ] |
|
|
|
Regular Member |
Joined: 16-Jun-2004 Posts: 223
From: Lyon, France | | |
|
| Hi,
I do codefor OS4 under Windows too .
I am really lucky that one of the first cross compilers available for OS4 was the Cygwin/win32 one, because coding kernel drivers (and especially disk ones) under OS4 itself would have been a massive pain. But I also use the same setup for the little application level development that I do.
Nota bene : the kernel itself was developped initially under Linux, and parts of it under Cygwin too.
My own setup involves Microsoft Visual Studio (2005, if that matters) under Windows XP. This dev env is completely open to alien languages, compilers, debuggers, include sets, makefiles and so on, so :
- when I edit code, all syntax highlighting is properly done, including amiga-specific keywords à la VARARGS68K and so on
- when I start typing anything which derives from the OS4 SDK include set, I have auto completion
- the editor knows (and displays for quick completion) the OS4 system and custom structure members, the variables etc.
- the editor knows and displays OS4 function prototypes,
- right clicking on anything and then "go to definition" or "go to declaration" works, including going to OS4 SDK's include set,
- when I clink on "build" in one of my projects, it compiles using the cygwin OS4 gcc, and all errors and warnings are reirected to the MSVS error list windows,
- from there, double clicking brings me to the source file / code line
- when all is fine and the build is successful, it is autotransfered to the A1 (using cloanto's amigaexplorer, in batch mode, a custom version of it, that is, which I made back when we ported AE to OS4 native) and ready to run
My development environment is the same for my Apple2, PS/2 and Win32 projects, just using other SDK's.
It never crashes nor needs any reboot.
I'm still fighting to be able to do source level real time debugging from within visual studio using remote gdb , with connection to the A1 through the LAN. We made it possible with the PS/2, there is no reason it would not work with the A1 :)
This setup imho sets the minimal efficiency environment for hassle-free development. This is where we should aim at for an OS4 IDE.
Kind regards, -- Stéphane Guillard |
|
Status: Offline |
|
|
afxgroup
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 12:31:55
| | [ #5 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| what do you think i'm doing now??
i develop with dev-cpp/cygwin and test all work on my A1.. _________________ http://www.amigasoft.net
|
|
Status: Offline |
|
|
Foody
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 13:51:22
| | [ #6 ] |
|
|
|
Super Member |
Joined: 3-Sep-2003 Posts: 1467
From: Canada | | |
|
| Wait a second you said you actually used Visual Studio 2005 to do programs for the OS 4.0. Ok so what you are saying it that Visual Studio 2005 can do cross-compilation like this program does but enjoy all the nice features about Visual Studio 2005 provide. Is it possible you can email (with screenshots if you can) to my email address amiga500@gmail.com, the steps you toke to achieving them? If I can follow your steps and works, I can actually develop my next project for the OS 4.0 then. Would I be able to take advantage of the GUI editor in Visual Studio 2005 and that will be converted to work on OS 4.0? Amazing power if that is possible. Anyways please email in how you setup your Visual Studio 2005 to do that and thanks in advance. |
|
Status: Offline |
|
|
afxgroup
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 13:57:31
| | [ #7 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| wait.. you cannot develop Reaction GUIs with visual studio. You can use it to compile/debug normal programs. Same with Dev-C++ _________________ http://www.amigasoft.net
|
|
Status: Offline |
|
|
_ThEcRoW
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 14:02:09
| | [ #8 ] |
|
|
|
Cult Member |
Joined: 12-Jan-2005 Posts: 834
From: Murcia (Spain) | | |
|
| I thought Foody that you hated to death ms products and pc's. Why are you doing development on a pc? _________________ Amiga 1200 desktop. Apollo 030/50 Mhz 8mb ram + ClassicWB + Wb 3.1 Amiga 500 + ACA500plus 8mb + 30gb CF Raspberry Pi 3b+ and Amibian 1.4 Mac Mini G4 1GB Ram with the butterfly!!
|
|
Status: Offline |
|
|
Foody
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 14:06:27
| | [ #9 ] |
|
|
|
Super Member |
Joined: 3-Sep-2003 Posts: 1467
From: Canada | | |
|
| Because as much as I hate the products of MS they did something that Amiga seem to fail at it all time, create a really easy to use developing tool. That is the truth. I have to go through hell to get a working compiler, and have to use notepad and do this and do assign and link and blah blah blah blah just to get "Hello world!" don't even get me started on coding a GUI program using Amiga developing tools. * shiver * But with Windows developing tools, man, and MS developing tools, heaven making machine indeed. You have to admit, one of the biggest reasons why Microsoft is dominating a lot beside SO MANY OTHER things, like marketing, stealing, BLAH BLAH BLAH is the fact they produce A VERY EASY, VERY GUI FRIENDLY, VERY ETC developing tools. |
|
Status: Offline |
|
|
afxgroup
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 14:10:52
| | [ #10 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| |
Status: Offline |
|
|
sg2
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 14:40:10
| | [ #11 ] |
|
|
|
Regular Member |
Joined: 16-Jun-2004 Posts: 223
From: Lyon, France | | |
|
| Hi,
W/ regards to using MS Visual Studio's editor to define Amiga GUI... Of course you cannot do that ! It does not build any Reaction GUI, like said above.
But...
Well, yes you can !-)
If you look at my sKulpt/W3D modeler (available since 261 weeks on Aminet, and in fact since much longer... ouch, getting old), you will see :
- in skulpt_060.lha (or any other binary distribution), you will find in the "gfx/" drawer, a "sampler.res" file. Guess whats in there ? no ? open it with MS VS and you will see :) (it contains all dialog boxes for the application, texture editor etc.)
- in Skulpt_src.lha you will find a "resource.h" file. Guess who built it ? open it, here is the 1st line : "// Microsoft Developer Studio generated include file." It is their resource compiler which built the .res file and the .h file, out of a ".rc" file which was made by their dialog box editor. The .rc itself is found in the Windows version of the source package of my app.
- in the same archive you will find an "ami-resload.cpp" file. Guess what it does ? It creates an Amiga GadTools dialog box out of any dialog resource from the .res file. It is not that hard : both Windows and Gadtools are fixed layout.
So in essence, the AmigaOS sKulpt dynamically loads its dialog boxes from the .res file, which is compiled by MS VS from a .rc file which is what MS VS's dialog editor produces.
If you look more into the AmigaOS sKulpt src, you will also find in ami-stuff.cpp a Windows API emulator which is complete enough so that all dialog box handling functions are actually Windows code :) Look at 2DWProc.cpp, you will be SCARED ! its 100% Windows API Ever seen a HBRUSH or any of the above in the AOS SDK ?
static WPARAM wModifier; static HBRUSH hbrDkBlueSk, hbrLtBlueSk; static HPEN hpenWhite, hpenGrey, hpenCyan, hpenYellow, hpenPink, hpenDkBlueSk, hpenRed, hpenLtBlueSk, hpenGrid; static HFONT hFont; static HBITMAP hbTBuf; static DC dcTBuf, *hdcTBuf = &dcTBuf;
etc. See for yourself. In essence, it means that its not only the dialog definition which runs off Windows files, but also the dialog handling code ;) (iow : all the app. code)
Plus, the 3D calls are Windows Direct3D calls wrapped into W3D code.
Al this is because I first made the Windows/D3D version, and opted to port it to Windows by emulating the Windows dialog parser, the Windows API (for the parts involved in my app only, of course), instead of rewriting everything. It proved OK, because I had an Amiga version running in less than 2 weeks, and that was a bet I had with a friend (hello Toxico Nimbus :)
Kind regards, -- Stéphane |
|
Status: Offline |
|
|
shoe
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 18:51:19
| | [ #12 ] |
|
|
|
Super Member |
Joined: 14-Sep-2003 Posts: 1585
From: Gothenburg, Sweden | | |
|
| How cool is this!?
/shoe |
|
Status: Offline |
|
|
zerohero
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 19:06:29
| | [ #13 ] |
|
|
|
Team Member |
Joined: 4-May-2004 Posts: 2524
From: Uddevalla, Sweden | | |
|
| I'd just like to point out that Sebastian Bauer has made a plugin for Eclipse to integrate the AutoDocs into it's help system. Still it won't compile anything, AFAIK. I guess you could use Eclipse + cygwin, just as any other IDE...
Link: Sebastian Bauer's Eclipse plugin
Regards, Jocke 'Zerohero' Birging
Edit: Spelling (What? I should use the Preview? Bah!!) Last edited by zerohero on 13-Oct-2005 at 07:07 PM.
_________________ Common sense - So rare it's almost like a super power
|
|
Status: Offline |
|
|
afxgroup
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 19:49:08
| | [ #14 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| |
Status: Offline |
|
|
FuZion
| |
Re: Amiga IDE on Windows Posted on 13-Oct-2005 22:31:07
| | [ #15 ] |
|
|
|
Super Member |
Joined: 22-Nov-2003 Posts: 1962
From: Birmingham, England | | |
|
| You know what afxgroup? I was thinking (sort of) the same thing. The things sg2 is saying (Even to a non-developer like me) sound interesting. Dammit I wish I'd have gotten into that side of things
FuZion. |
|
Status: Offline |
|
|
asymetrix
| |
Re: Amiga IDE on Windows Posted on 14-Oct-2005 15:53:16
| | [ #16 ] |
|
|
|
Cult Member |
Joined: 9-Mar-2003 Posts: 868
From: United Kingdom | | |
|
| |
Status: Offline |
|
|