[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie needs some help
From: |
Ralf Wildenhues |
Subject: |
Re: Newbie needs some help |
Date: |
Sat, 18 Dec 2004 18:54:09 +0100 |
User-agent: |
Mutt/1.4.1i |
* Hong Li wrote on Sat, Dec 18, 2004 at 12:25:45AM CET:
>
> I am pretty new for Automake, autoconf..
Your question is an Autoconf one, actually.
> I have a project and I already have both linux and
> Unix verions. Now I wish to have a distribution using
> configure tools.
>
> it is pretty easy to go through the sample for using
> automake, hello-bla-bla..
The manuals of both packages are quite well-written,
not short. Looking at other packages using the autotools
can help, too.
> My question is, how the autoconf or automake can
> determine the machine type. In my program, the
> compiler needs to know "little-endian" or "big-endian"
> of the machine. Can autoconf, automake check on this
> and automaticaly give a -DLITTLE_ENDIAN/or
> -DBIG_ENDIAN for configure file?
Search for AC_C_BIGENDIAN in
info Autoconf
Regards,
Ralf