1) MAKE_HOST
There's a string constant in config.h named MAKE_HOST
#define MAKE_HOST "Windows32" or "i686-pc-cygwin" ...
In the make code this is used only in version string output.
Does it matter what this string says?
Is it extracted by some tool (ie autoconfig) and used somehow?

2) LDFLAGS
What is the proper way to force inclusion of a library?
autoconfig and configure often test the compiler by compile a small program.
This program is linked to libc.lib. However, this is not enough for later
versions of the Microsoft C runtime library. You need at least one more
linked library (ie BufferOverflowU.lib) => linker failure.

I stated this in my cygwin startup script:
set cc=cl
set cxx=cl
set ld=link
set as=ml
set CFLAGS = -nologo -MD -Zi -Oxt -Oi -Oy -G6 -GF -EHsc
set LDFLAGS=bufferoverflowu.lib

It works, but sometimes it looks strange since LDFLAGS seems to be used as a
switch to the compiler. I want it to be used only by the linker. How to do
this?

regards
Jerker Bäck 



_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to