https://sourceforge.net/p/ghdl-updates/wiki/build%20mcode%20ghdl/
I added a caution about line lengths for default_pathes.ads in the second paragraph, and in the make command to build ghdl_mcode for OS X, added the linker switch: # Mac OS X # /usr/bin/make target=i686-darwin GNAT_LARGS=-Wl,-no_compact_unwind (the default state for the script is to build on Linux) I'm not sure why Torsten Meißner had all the difficulty. He said he uses Homebrew which builds things in /usr/local. > ../../ortho/mcode/ortho_code-decls.ads:25:21: (style) bad column > ../../ortho/mcode/ortho_code-decls.ads:28:21: (style) bad column > ../../ortho/mcode/ortho_code-decls.ads:31:21: (style) bad column > gnatmake: "/Users/torsten/ghdl/ortho/mcode/ortho_code-decls.adb" These sound like leading tab and space issues with comments (these are all comments, gnat is saying it doesn't like them indented extraordinarily). I don't get them which says the particular style flag is turned off for me. I never change gnat flags if I can help it, and I haven't. There has to be something different about your gnat installation compared to mine. Check you're environment for gnat things. The other thing that comes to mind is changes to the Makefile which I also avoid. (hence the make argument for GNAT_LARGS above). In any event Tristan's suggestion of -gnatwa instead of -gnatwae should prevent gnat from being anal retentive. I looked inside the disk image for the ada and didn't see anything. You aren't trying to build this under Xcode, are you? _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
