<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font color="#3333ff">On 8/2/2018 8:18AM, Ed McMurray wrote:<br>
    </font><br>
    <div class="moz-cite-prefix">On 8/1/2018 5:38 PM, Carl Eugen Hoyos
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAB0OVGrQGKNMi0q+h9Mq8-0gPMDNnfezC1G=SPgJN8thf7aS3Q@mail.gmail.com">
      <pre wrap="">2018-07-29 16:20 GMT+02:00, ed mcmurray <a class="moz-txt-link-rfc2396E" href="mailto:emcmurray@aevee.com"><emcmurray@aevee.com></a>:
</pre>
      <blockquote type="cite">
        <pre wrap="">I have tried the Window pathname suggestions, with no real success. I've
decided to eliminate this as a variable, so I have switched to try to
build FFmpeg libs under Linux(Ubuntu 17.10).  This is the exact process
that I have followed so far:
*
*1: I have downloaded and decompressed ffmpeg v4.0.2 into ffmpeg source
root directory.
2: I have downloaded and installed Pre-buil2 GNU toolchain forArm
Cortex-M for Linux (gcc-arm-none-eabi-7-2018-q2 update-linux)
     from Arm website:
<a class="moz-txt-link-freetext" href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm">https://developer.arm.com/open-source/gnu-toolchain/gnu-rm</a>
3: from cli, I set working directory to ffmpeg source root directory.  (
I created a simple helloworld.c program in working directory, to test
compiler)
4: from cli,  I verified arm compiler did successfully create expected
object file for helloworld.c test.
5: from cli, I ran cofigure shell script:
$ ./configure --enable-cross-compile
--cc=/home/ed/Project/armCrossCompile gcc-arm-none-eabi-eabi-gcc
--target-os=none arch=arm
</pre>
      </blockquote>
      <pre wrap="">
(There is something wrong with the "arch" option, both here and in the log.)

Should probably be:
./configure --cross-prefix=/home/ed/Project/armCrossCompile
gcc-arm-none-eabi-eabi-
--target-os=none --arch=arm
</pre>
    </blockquote>
    <font color="#3333ff">I've run configure exactly as shown above. 
      The results were the same as previous run. <br>
       I've attached config.log file.</font><br>
    <blockquote type="cite"
cite="mid:CAB0OVGrQGKNMi0q+h9Mq8-0gPMDNnfezC1G=SPgJN8thf7aS3Q@mail.gmail.com">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">6: This is the returned error message:
/home/ed/Project/armCrossCompile/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc

is unable to create an executable file. C compiler test failed.

I have attached zipped log file to show any possible clues.  I won't be
able to do too much more today.  I will start Monday morning trying to
understand what the log file is showing and what I might be missing.
Again, any advice is appreciated.
</pre>
      </blockquote>
      <pre wrap="">
Please do not compress the log, please avoid top-posting here.

If it still fails, try to compile FFmpeg's test program ("int
main(void){ return 0; }")
with the options FFmpeg uses ("-march=armv4t") and find out if it
really succeeds
from cli.</pre>
    </blockquote>
    <font color="#3333ff">I wasn't exactly sure I understood this step. 
      So I created a simple C test file with<br>
      int main(void) { return 0; }<br>
      <br>
      I then ran cross compiler from cli with the FFmpeg option:<br>
      $ 
/home/ed/Project/armCrossCompile/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc
      -c -march=armv4t test.c<br>
      <br>
      the object file was created successfully.  Please let me know If I
      should run some additional test(s).</font><br>
    <blockquote type="cite"
cite="mid:CAB0OVGrQGKNMi0q+h9Mq8-0gPMDNnfezC1G=SPgJN8thf7aS3Q@mail.gmail.com">
      <pre wrap="">

Carl Eugen
_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>