Monday, July 7, 2008

Transfer from Cygwin to MinGW on Windows Platform

After some tests, I have found it's prefer using MinGW.

For What ?

  1. Trolltech Don't support Cygwin but MinGW and Visual Studio on Windows (dixit 'platform supported') and the installation/compilation of Qt 4.4 are most easily.
  2. From Wiki's information (http://en.wikipedia.org/wiki/MinGW) , MinGW is better integrated because all calls to the Operating System are 'real' calls and not POSIX Unix Calls wrapped to Windows Calls. That's give a less interaction and maybe some rapid execution time.
  3. The Open Cobol Compiler and all dependencies of them compiling without issues.

With this solution, We stay on unique framework.

MinGW can also compiling applicaiton on GNU Linux and executing on MS Windows (cross-compiling).



2 choice for the installation of MinGW:

  • Standard Installation from sourceforge
  • Manual Installation for installing onUSB or external disk.

On my side, I'll next explain the manual installation and configuration on USB Disk.

Wednesday, July 2, 2008

Change easily the letter of a USB drive.

Because, it's really better on Linux O.S. but Windows is obligatory at Work 'spacing', this solution can help you.


Connect your USB external disk.
Mine is a Maxtor Basic 500 Go bought on Ebay for 75 €
My previous one is a Laptop disk transformed on USB disk when my laptop has burned (Packard bell is not the best for BBQ)

To change the Letter, execute command (([Flag] + R) or Start->Run):

diskpart


You are now in the 'central' command

help


-->give you the full list of command

list volume : give you the list of all volume monted on windows.
check your volume number of your USB disk

select volume 'Volume Number'


-->for select your volume number define in the list

Assign letter 'Drive Letter'


-->for assign your new drive letter.


WARNING: you must restart your computer, it's windows, in fact, no choice.


If you have another solution in direct 'live' for forcing a drive letter directly on any computer, you can add this in commentary.



Thanks
PS: this is principally for me (no forget, no english man).


UPDATE !: After some tests, you can use also diskmgmt.msc which most easily to beginner. Just choose your drive and use right click -->Change drive letter. Thanks MS. No change, no choice, reboot for active drive.