Re: for Casing use "mixedcase";
Thomas De Contes <[email protected]> Thu, 6 Dec 2007 03:44:24 +0100
| Newsgroups | gmane.comp.lang.ada.sockets |
|---|---|
| Message-ID | <[email protected]> |
Le 29 nov. 07 =E0 10:02, Samuel Tardieu a =E9crit : >>>>>> "Thomas" =3D=3D Thomas De Contes <[email protected]> writes: > > Thomas> hi :-) Help ! I have a very big problem ! (I can't continue > Thomas> to programm :-( ) > > > Thomas> for Casing use "mixedcase"; is not compatible with adasockets > > What is the purpose of that? Here is the doc : http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/ = html/gnat_ugn_12.html#SEC153 Without project files, it is tolerent : if i put some capital = letters, it finds the source files and it puts a warning With project files and the default Casing "lowercase", it is = intolerent : it doesn't find the source files With project files and the Casing "mixedcase", it is more than = tolerent :-) : no warning, and it makes .ali and .o with the = corresponding "mixedcase" name :-) > (remember, I don't use projet files) You should look at it, because it may help you to manage the = portability :-) I was not more hot to use it, But it was necessary to use AWS, and i find it really vry usefull :-) You should try it ;-) Here is what i get when i make a mix between adasockets-config, = gtkada-config, and gtkada.gpr : http://dl.free.fr/hA0rrMdHC/AdaSockets.gpr But it doesn't work as expected, Maybe you'll prefer Object_Dir than Library_Dir Could you include it in adasockets, please ? :-) > Thomas> Could you test this, to know whether this problem is portable > Thomas> or is specific to Mac OS X, please ? > > Thomas> http://dl.free.fr/mFaw1bRg3/mixedcase.zip > > Thomas> When i run compil.command, i get : > > %gnatmake -Pigsw igswprincipal `adasockets-config` || exit > gcc -c -I/usr/local/lib/adasockets -I- -gnatA /tmp/mixedcase/ = > igswprincipal.adb > gnatbind -I/usr/local/lib/adasockets -I- -x /tmp/mixedcase/ = > igswprincipal.ali > gnatlink /tmp/mixedcase/igswprincipal.ali -L/usr/local/lib/ = > adasockets -L/usr/local/lib -ladasockets -o /tmp/mixedcase/ = > igswprincipal > > No problem. > > This is on i686-pc-linux-gnu with GNAT 4.3.0 200711028 (experimental) > and the latest AdaSockets. Thank you for the test on linux :-) Is there someone who could test on windows, please ? In fact it's not specific to AdaSockets, it's the same with gtkada But i need a project file to resolve it, And i would like to know if it is on all filesystems with insensitive = case or only on mac os x :-) -- = j'agis contre l'assistanat, je travaille dans une SCOP ! _______________________________________________ AdaSockets mailing list [email protected] http://lists.rfc1149.net/mailman/listinfo/adasockets