Giter Site home page Giter Site logo

Comments (5)

zertovitch avatar zertovitch commented on August 30, 2024

Thanks for the patch. Fortunately I am used to GNAT GPL 2017 for the same reason (it's the latest 32-bit one).
I start with less on-topic things of your patch: the missing dirs are now created without supplemental option in gnatmake - see commit 78a7b67 .
For gnatcom.gpr, I prefer not to touch it.
For gnatocx-irunningobjecttable_interface.adb, I would keep the hr variable but use 'Unchecked_Access. Is it OK for you?

from gwindows.

zertovitch avatar zertovitch commented on August 30, 2024

The rest of the issues should be fine now (see commit 7734884 ).

from gwindows.

nthcomputing avatar nthcomputing commented on August 30, 2024

It's totally up to you on what you like to use or reorganize , thanks for taking my minor changes! I did find a few more issues today, I'll add them to this thread (since they are similar) in the next few days! I've now got everything to compile!

from gwindows.

nthcomputing avatar nthcomputing commented on August 30, 2024

okay, 3 basic additional issues were discovered in a couple areas:

  1. ganvi-icg.adb:
    ` function GWindows_Casing (S : String) return String is
    --(if S = "id" then "ID" elsif S = "progid" then "ProgID" else GNAT.Case_Util.To_Mixed (S)); -- illegal due to procedure To_Mixed, not being a function!
    copy : string := S;

     begin
              if S = "id" then
     	GNAT.Case_Util.To_Upper(Copy);
       elsif S = "progid" then
     	Copy := "ProgID";
       else
     	GNAT.Case_Util.To_Mixed(Copy);
       end if;
       
       return Copy;
    end GWindows_Casing;`
    
  2. gnavi/gnavi_ide/src/makefile
    gnavi_ide: gnavi_ide.coff control_creators.ads icg

The above just changes the order of files on requirements so that "gnat_ide.coff" needs to be first. If not then when you go to build the other targets, the resource file is missing because it wasn't built before hand as a requirement. SO now it's built first before all other targets. On windows I'm using Make 4.4.1, compiled from source.

  1. Qwenerator/src/make.cmd: 66.
    if "%1"=="-res" windres GWenerator.rc GWenerator.coff if "%1"=="-res" shift if not exist GWenerator.coff windres GWenerator.rc GWenerator.coff

The whole ".rbj" things makes no sense to the linker, needs to something real, change it and now it links and works.

That should be it!

from gwindows.

zertovitch avatar zertovitch commented on August 30, 2024

Point 1 is done in commit d346a18 .
Point 2 is done in commit 64b8cf3 .
Note that the GNAVI topic is a recent resurrection effort of something abandoned 20 years ago. Don't expect it to be usable in the near future...
Point 3: the 32-bit linker complains because it finds a 64 bit object file. Just recreate it with "make -res". The extension is not important.

from gwindows.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.