both the environment variables and the -isystem work. in fact, if you use them
both with the same directories, they can conflict, but the compiler sorts it
out. I discovered through -v that separating directories in the environment
variables using UNIX's colon (:) is the wrong thing to do, it actually gives an
undisclosed error on that. on windows, use a semicolon (;).
problem resolved.
________________________________
From: Kai Tietz <[email protected]>
To: Jim Michaels <[email protected]>
Cc: mingw64 <[email protected]>
Sent: Wed, January 19, 2011 12:21:54 AM
Subject: Re: [Mingw-w64-public] compiler switches to include directories
Hello,
2011/1/19 Jim Michaels <[email protected]>:
> I need to include lib and include directories.
> the compiler isn't listening to anything I try in the manual.
> any ideas?
> I tried
> -Idir
> -Ldir
> -isystem dir
> -B dir
>
> nothing works. should I be using environment variables instead?
Jim, those options you are mentioning are working for gcc. So there
seems to be something else with your installation. Could you please
tell me how you have setup toolchain (location, setting of PATH
environment, etc), and what toolchain you have installed (Use for this
best the command 'gcc -v' and show me its output). Additionally it
would be helpful to know what runtime environment you are using as
host (msys/cygwin/linux/native/...).
Regards,
Kai
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public