----- Original Message -----
From: "Shaun Kelly" <shaun@...>
Sent: Friday, July 18, 2003 2:34 PM
Subject: [Mingw-msys] Re: Parsing the Cmdline?
> Good Day,
> Thanks Luke, your advice helped! After putting my executables into
> /usr/local/bin/ I could parse the cmdline!!
> Yet the reason I put all my executables in /bin, is that gcc and ld could
> find any of the default headers, nor as a matter
> of fact any of my headers (Even thou I told the compiler where to find
> until I copied them into /usr/include directory. (Yes, /mingw is mapped to
> C:\MinGW-2.0 in /etc/fstab). Thus I put my executables into /bin aswell.
> I also have had to put my libraries into /lib to the linker to find them
You should avoid putting anything into the MSYS "bin", "include" or "lib"
directories unless you really know why you need to. The MinGW compiler
should not be able to find any headers in /usr/include or any libraries in
/lib unless you tell it explicitly using command line options or environment
variables. Have you installed msysDVLPR? (if you don't know what that is,
never mind) After you remove all the stuff you put in /usr, does the
compiler work from the Windows command prompt? (the best way to remove it
would be to remove the MSYS dir and start again)
> Maby If I shared with you , my setup of Msys environment, someone can
> me as to what else should be done?
> msys-1.0.9-2003.06.16-1.exe installed at C:\msys\1.0.9.06 (I have a few
> versions installed)
> MinGW-22.214.171.124.exe installed at C:\MinGW-2.0
> mingw-runtime-3.0.tar.gz unpacked into C:\MinGW-2.0
> gcc-3.2.3-20030504-1.tar unpacked into C:\MinGW-2.0
> bash.exe copied to /usr/bin/sh.exe
What is this about? Where did this bash.exe come from and why are you
replacing the MSYS version?
If the problem still isn't evident, please provide the output of the
"msysinfo all" command.
> Copied /c/MinGW/include/* /c/msys/1.0.9.06/include
As I said, this step should be undone.
> Shaun Kelly
> ISS International Limited, Technical Division, Software Engineering
> P O Box 12063, DIE BOORD 7613, South Africa
> Tel: +27 (0)21 809-2096 Fax: +27 (0)21 809-2061
> Email: shaun@... Web Page: http://www.issi.co.za