Re: GCC : -static option does not generate statically linked executable

2001-12-05 Thread Charles Wilson
[EMAIL PROTECTED] wrote: > Hi, > > I am trying to generate an executable, using "gcc -static" option. > The generated file is dynamically linked! As if the "-static" option was > simply ignored. > > The output of "cygcheck" is as follows : > > Error: could not find libX11.dll > C:\cygwin\bin

GCC : -static option does not generate statically linked executable

2001-12-05 Thread T-FERNANDEZ
Hi, I am trying to generate an executable, using "gcc -static" option. The generated file is dynamically linked! As if the "-static" option was simply ignored. The output of "cygcheck" is as follows : Error: could not find libX11.dll C:\cygwin\bin\cygwin1.dll C:\WINNT\System32\KERNEL32.dl