comp.lang.ada
 help / color / mirror / Atom feed
* Missing ali files when compiling on Mac OS
@ 2015-02-09 19:15 Alex A
  2015-02-09 19:26 ` Alex A
  2015-02-09 21:01 ` Simon Wright
  0 siblings, 2 replies; 3+ messages in thread
From: Alex A @ 2015-02-09 19:15 UTC (permalink / raw)


What is causing this error? 
test.adb is a hello world program.



Output error: 

    gnatmake -d -P/Users/u0/Downloads/test.gpr
    Adding linker switches for"test.adb".
       Adding -g
    TMPDIR = "/private/var/folders/fn/srvkxbdj3bz60q952680ngj40000gn/T"
    Created configuration file "/private/var/folders/fn/srvkxbdj3bz60q952680ngj40000gn/T/GNAT-TEMP-000001.TMP"
      "test.ali" being checked ...
      -> "test.ali" missing.
    gcc -c -g -gnatf -g -gnat12 -I- -gnatA /Users/u0/Downloads/src/test.adb
    End of compilation
    gnatmake: "/Users/u0/Downloads/src/test.adb" compilation error
    
    [2015-02-09 19:39:13] process exited with status 4, elapsed time: 00.77s

---

gcc -v

    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
    Target: x86_64-apple-darwin14.1.0
    Thread model: posix

---
gnatmake --version

    GNATMAKE GPL 2014 (20140331)
    Copyright (C) 1995-2014, Free Software Foundation, Inc.


---
which gcc 
    /usr/bin/gcc
---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing ali files when compiling on Mac OS
  2015-02-09 19:15 Missing ali files when compiling on Mac OS Alex A
@ 2015-02-09 19:26 ` Alex A
  2015-02-09 21:01 ` Simon Wright
  1 sibling, 0 replies; 3+ messages in thread
From: Alex A @ 2015-02-09 19:26 UTC (permalink / raw)


gcc -c main.adb
error: invalid value 'ada' in '-x ada'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing ali files when compiling on Mac OS
  2015-02-09 19:15 Missing ali files when compiling on Mac OS Alex A
  2015-02-09 19:26 ` Alex A
@ 2015-02-09 21:01 ` Simon Wright
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Wright @ 2015-02-09 21:01 UTC (permalink / raw)


So far as I can see you posted this question half an hour after posting
the identical question on Stack Overflow.

I think it would be polite to wait and see whether you get an answer
from one community before asking the same question of a (largely)
different community.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-09 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-09 19:15 Missing ali files when compiling on Mac OS Alex A
2015-02-09 19:26 ` Alex A
2015-02-09 21:01 ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox