Re: Dumb Question on Cross-Development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 7 Apr 2001, Joe deBlaquiere wrote:

> You might call it a hack, but it makes life easy if you do something like:
> 
> export ac_cv_sizeof_short=2
> export ac_cv_sizeof_int=4
> export ac_cv_sizeof_long=4
> 
> sh ./configure --target=$CONFIG_TARGET --host=$CONFIG_HOST 
> --prefix=$CONFIG_PREFIX --exec-prefix=$CONFIG_EXECPR
> 
> This will short circuit a "broken" configure trying to execute programs 
> for this kind of thing. If configure doesn't care about sizeof_int, then 
> this definition is silently ignored...

 If you look at my RPM packages, you'll see I'm already doing this.  I've
already thought of making global cross-compilation configuration files for
each host containing appropriate definitions.  I'm not sure how to
integrate it with RPM, yet (the macro definition file is a good
candidate).  I didn't make any progress due to a low priority of this
task. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux