RE: MPLAB under wine?

"Lee Manickum" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Message-ID <[email protected]>
I've successfully used it to assemble. but could not 
get it to link.

The trick, IIRC, is to run each assemble using wine.

I made a makefile, and ran make to start the assembly.
The targets in the makefile were each ran with
wine.

Then I started the IDE itself with wine.

The reason it "quickly vanished" was (for
me anyway) because MPLAP runs an external
program to assemble, and wine (at that time)
did not properly allow the process to 
spawn a dos program; I suspect
that you would be able to successfully spawn
an elf program or a win32 program though 
(hence make).

I gave up on it about a year back; found that
even if I got it to assemble and link correctly,
I would still be lacking the ability to
download the program or run the debugger.

(MPLAB itself does the downloading, not some
external program, and MPLAB (version 6.something)
did not download the hexfile that was in the
directory, but the hexfile that was in its
memory at the time, therefore MPLAB itself
had to spawn the seperate processes to assemble
and link, and after a successfull link would 
load the hexfile into its memory. This also 
explained my "bug" in that if I opened a 
previously assembled and linked project and
immediately downloaded (without rebuilding)
then junk was sent to the PIC. All this can be 
seen if one runs strace (or is it ptrace on 
linux?) on wine running MPLAB.

I will look at it again later this weekend
and let you know if I get further than mere 
assembly. I think that some creative massaging
of paths and filenames would get MPLAB under
wine working all the way up to linking. Downloading
after that (or debugging) will have to be done
without MPLAB.

> -----Original Message-----
> From:	Ben Dugan [SMTP:[email protected]]
> Sent:	Thursday, August 25, 2005 7:32 PM
> To:	[email protected]
> Subject:	[gnupic] MPLAB under wine?
> 
> 
> Has anybody used MPLAB under wine?  I haven't been able to get it to 
> work yet.  After resolving some missing DLLs and getting paths set up 
> (apparenntly) correctly, the program starts then quickly vanishes.  Wine 
> isn't even giving me a log?
> 
> Any tips?
> 
> (I'm not planning to use MPLAB for long, but I'd like to have it as a 
> test bed.)
> 
> Ben
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.