napierzaza Posted June 13, 2008 Report Share Posted June 13, 2008 This is more or less out of date : http://www.ucapps.de/howto_tools_gpasm.htmlThere appears to no longer be any included make.bat files included. Is there another method to compile in windows? I tried typing in the example line of "gpasm -p 18f4685 -I ./src setup_6581.asm but it includes errors about missing files. I add ./include (because the vectors files was missing) and it doesn't work. Quote Link to comment Share on other sites More sharing options...
nILS Posted June 13, 2008 Report Share Posted June 13, 2008 Yes, there is:http://www.midibox.org/dokuwiki/windows_toolchain_quickstart?s=gpasm Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 13, 2008 Report Share Posted June 13, 2008 ...which is linked down the bottom of that page ;)hahaha Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 13, 2008 Author Report Share Posted June 13, 2008 Haw Haw, like I should have turned left down a different unmarked country road! Thanks guys, gonna take a look. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 13, 2008 Report Share Posted June 13, 2008 Jump on the chat if you have any problems, and let me know... I should be able to help you, and I can make any necessary changes to the documentation that become apparent. Thx and good luck! Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 13, 2008 Author Report Share Posted June 13, 2008 It's more like there are many pages that all say things a little differently:Quickstart http://www.midibox.org/dokuwiki/windows_toolchain_quickstart?s=gpasmC Interfacehttp://www.ucapps.de/mios_c.htmlWindows Toolchain Corehttp://www.midibox.org/dokuwiki/windows_toolchain_coreAll of them more or less are saying the same thing, differently, probably by a different person. They're all in different places and accessible from different places. I'll try the new version you brought to my attention, which was apparently linked at the bottom of another instead of listed in parallel ... ... Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 13, 2008 Report Share Posted June 13, 2008 Two by the same person (Me) and if you read them you'll know what it's all about ;Dhttp://www.midibox.org/dokuwiki/windows_toolchain_quickstart - Quickstart guide. For tech-savvy people who just want to get up and running, quick.http://www.midibox.org/dokuwiki/windows_toolchain_core - Detailed instructions for the core components. The detailed instructions are broken into sections. You need the detailed instructions if you're having trouble with the quickstart, are a newbie, or if you're a guru and want a nonstandard setup but need a full reference to how it normally works.First line of the first link:Most users just want to download the source, configure the code for their hardware, and compile it. If that’s you, and you’re familiar with Windows, the Quick Start Guide will get you up and running, quick and easy. If you have any problems, or want to know all the gory step-by-step details, you may prefer the Detailed Setup Guides They're all in different places and accessible from different places.Err mostly no... the quickstart is linked to, only from the app development page. The detailed guides' sections are all interlinked, and also linked from the app dev page. I'll try the new version you brought to my attention, which was apparently linked at the bottom of another instead of listed in parallel ... ...The ucapps link you posted just now is TK's and will probably be revamped/removed/linked to the wiki/whatever, once the modular structure that you're doing now, has been tested more and is ready for a full release... Likewise, the one you were reading before, which said that the document you were reading then had been updated... Again, the reason why there's a mix of old instructions and new, on ucapps.de, is that the wiki pages need to be confirmed working OK before the old documentation is removed, so we have old docs pointing to new docs. Which is why it's good that you're testing it, thankyou! Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 13, 2008 Author Report Share Posted June 13, 2008 If they were organized, in one sensical place with brief descriptions of each link, it would have been easier. Instead I find different ones each time in different places and have no idea which one I'm looking for. Some reference .bats that don't exist, maybe for other projects like the FM but not the most recent SID. I'll give it a whirl Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 13, 2008 Report Share Posted June 13, 2008 If they were organized, in one sensical place with brief descriptions of each link, it would have been easier.Well, once they've been tested, that is exactly what will happen.Edit: unles you count where it's already done: Setup & Installhave no idea which one I'm looking for. Some reference .bats that don't exist, maybe for other projects like the FM but not the most recent SID. It is a little confusing but the pages do all explain it :).bat files are all a thing of the past with the new structure. Just go with the new doco on the wiki that I wrote, and you'll be set. This only counts for projects like the SID or MB808 which have been released with the new structure. Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 13, 2008 Author Report Share Posted June 13, 2008 Looks like it actually worked! Takes a while to set all of it up, especially because I'm on virtual PC and for some reason can't past into the windows terminal (which sucks).You should make a batThanks! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 13, 2008 Report Share Posted June 13, 2008 Looks like it actually worked! Wicked! It's only a handful of installers so shouldn't take too long.... but I know that clipboard pain, it sucks...You should make a batThat does what? I thought about making an installer for all of these packages but figured it wasn't worth the trouble of constantly updating the installer when a new package is released, when compared to installing the few packages separately... And there are actually two less packages needed than before :) Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 13, 2008 Author Report Share Posted June 13, 2008 The last line, which might be put in the source directory and will run the long line before "make" and "make". Anyhow it doesn't matter. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 14, 2008 Report Share Posted June 14, 2008 Anyhow it doesn't matter.It does to me :) You're being a pioneer here so your feedback is mega valuable man.Did you mean this :cd c:\<your application directory> SET PATH=C:\MSYS\1.0\bin;C:\MinGW\bin;%programfiles%\gputils\bin;%programfiles%\SDCC\bin;%PATH% makeThe good news is that you don't have to type that whole thing every time - if you set the PATH enviranment variable permanently to include those directories.I've updated the doc to hint at that, and point at the instructions from the detailed guides on how to do it.... http://www.midibox.org/dokuwiki/windows_toolchain_quickstart#build_applicationIs that better? Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 15, 2008 Author Report Share Posted June 15, 2008 Okay, This is good. Thanks very much, I should have realized that that part was one time! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 15, 2008 Report Share Posted June 15, 2008 This is good. Thanks very much, I should have realized that that part was one time! Well, it would have helped if I had said so in the first place :D Is there anything else that could do with a fixup? Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 15, 2008 Author Report Share Posted June 15, 2008 Well maybe if you just separate it like "install this... set these path variables... okay, everything is setup, now just go to any directory and say "make" and it will. Also I assume you could even make a script that just goes "cd to directory this bat is placed in. Run make". The more forks you make the harder to understand, (as in, what do you mean I "can" save the path setting permanently?). Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 16, 2008 Report Share Posted June 16, 2008 Well maybe if you just separate it like "install this... set these path variables... okay, everything is setup, now just go to any directory and say "make" and it will.Well that's what the quickstart guide was before... Also I assume you could even make a script that just goes "cd to directory this bat is placed in. Run make"Well you'd already be in the directory if you ran the bat file :D Also the idea with this is that you can just run a few commands to get into it, creating and editing batch files isn't really within the scope. We just want to run a few installers and then type the necessary commands to use them.The more forks you make the harder to understand, (as in, what do you mean I "can" save the path setting permanently?). Exactly. That's why there are two documents - quickstart (no forks) for the people familiar with windows, and detailed guides (fork-fest) for those who aren't, or those experienced users who want to know all the forks.Maybe I should remove the part I just added then? Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 16, 2008 Author Report Share Posted June 16, 2008 Well not remove it, just seperate the path making and the actual "make" command. Set the path (you'll only have to do this once):blah blahNow type make while you're in the directory:cd:/blahmake Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 16, 2008 Report Share Posted June 16, 2008 Set the path (you'll only have to do this once):Well it doesn't work like that - you have to set it every time. Path changes made in a command shell are not permanent, that's why you have to do it in the GUI, or type it every time... Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 16, 2008 Author Report Share Posted June 16, 2008 Oh, crap. Sorry, I mistake these things with linux sometimes. Y'know I only compile in windows because I recalled it was rather simple that way, I think I might have been better off figuring this out in linux anyhow. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 17, 2008 Report Share Posted June 17, 2008 Oh, crap. Sorry, I mistake these things with linux sometimes. Y'know I only compile in windows because I recalled it was rather simple that way, I think I might have been better off figuring this out in linux anyhow. Just so you know, there is a tool called setx which is not included in the default windows installation but is a free addon. Things like messing with path variables is not what falls into the category of general use ;)That said, the whole wiki process there, is to make your windows box behave like unix; so if you have a *nix box, you can use the posix tools in there and it should work fine. I hope you'll add to the doco on the wiki for all the other linux people, like me when I next try it out ;) Quote Link to comment Share on other sites More sharing options...
napierzaza Posted June 18, 2008 Author Report Share Posted June 18, 2008 Well,I should hopefully now have to recompile my ASM after this time, but if I suddenly realize I didn't do it right with the wrong configs I will probably give it a whirl using linux then ;-)Now if I could only get java/midi working again... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.