This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building applications from source to support cygwin


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave Korn wrote:
> On 12 January 2007 03:06, Larry Hall (Cygwin) wrote:
> 
>> Christopher Faylor wrote:
>>> On Thu, Jan 11, 2007 at 07:48:02PM -0500, Sparky Sparky wrote:
>>>> I know this is a newbie question, but I can't find it in the
>>>> documentation. How (if?) do you compile a standard x86 source to
>>>> support cygwin?
>>> How would you build the application on linux?  Same way, i.e., something
>>> like: 
>>>
>>> gcc -o foo foo.c
>>
>> Wrong!  You type "make".
>>
>> Phsh, newbies. ;-)
>>
> 
> Wrong!  You type "./configure", then you type "make".
> 
> Phsh, oldbies!  
> 
> [ hmm.. autoconf.. automake... aclocal... we could probably take this back
> waay too far :) ]
> 
>     cheers,
>       DaveK

no, you run
for(file in src/):
   if(system(gcc -o file file) == 0):
      print "oops! Gcc messed up!"

python does building BETTER! :P
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFFpv/+XIyDjlIx4voRAi7kAJ9kD/T4asfXeaXLZn6qaRJvAx9DQQCeKmLa
xHGgFEUzGpLxsfp1miW4iqg=
=Hc3k
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]