The following questions surfaced while using the configure script for protobuf  
while doing cross compilation for the TI DSP C6455 Code Composer.

a)      The output of that TI cross compiler only generates files that have obj 
as suffix (conftest.obj).

This section of the 'configure' script always returns an empty ac_file and 
makes the program exit with an error.

for ac_file in $ac_files ''


  test -f "$ac_file" || continue

  case $ac_file in

    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | 
*.inf | *.o | *.obj )


b)      Similarly this check on line 2977 also fails, it may need a condition 
for cross compiler.

echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }

if { (ac_try="$ac_link"

case "(($ac_try" in

Is there anything specific that needs to be done for cross compilation? 
'cross_compiling' is being set to true and all the paths to the cross compiler 
environment are proper.

Please indicate if the corresponding config.log should be forwarded.


Thomas Jagodits

Hughes network Systems

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to