Giter VIP home page Giter VIP logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
I have no idea why it broke on your platform. It happened when I moved the obj 
files
to a specific directory (at your request ;)). I let the cross-compiled obj go in
obj/win32, and native linux ones go in obj/unix.The dependencies should behave 
fine
in either cases... I think I tested on my linux machine, but not sure (and no 
time in
the next 24h)
Does it needlessly rebuild everything when crosscompiling, when compiling 
normally,
or both?

Original comment by yrizoud on 23 Oct 2008 at 11:23

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
i only tested native compiling. will try the cross compiling once i get my pc 
out of
the bag... mayme tomorrow...

Original comment by [email protected] on 24 Oct 2008 at 6:15

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Arrgh.. don't change build system. That makes it tricky for OS4 :-(

Original comment by [email protected] on 24 Oct 2008 at 7:27

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Well, if we keep adding all the platforms to the same makefile like it is 
now,we will
be getting more and more problems like this build dependencies one.

There is nothing very tricky to do in the build system, anyways, i'm ok to keep 
it
like that, but recompiling everything once i make a single change on a single 
file
gets quite tiring :)

Original comment by [email protected] on 24 Oct 2008 at 7:31

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Yeah, but there must be a way to fix the dependency problem?

Original comment by [email protected] on 24 Oct 2008 at 9:12

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
The dependency problem is certainly a bug of mine, not inherent to the number 
of 
platforms... I'll test Linux compiling as my first priority this evening.
Don't worry about the makefile bloating, we're running out of platforms that we 
don't support :)

Note, targets like "version" and "ziprelease" are starting to take a bigger 
place in 
the Makefile. If I extracted these into a secondary makefile (that we don't put 
in 
the sources zips), the Makefile would be quite cleaner, as all targets would be 
used 
in compiling.
Hmmm, the "-include Makefile.tools" directive would do the trick very nicely! 
It 
would import the extra makefile IF it's present (gotten from svn), and not 
cause any 
errors if missing.

Original comment by yrizoud on 24 Oct 2008 at 9:38

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
The "compile-everything" problem should be fixed in r306. I did test it on 
linux.

The cause, for people eventually interested in Makefiles:
It was because I had made the directory obj/unix a dependency of the .o files. 
(in
order to create it if needed). But, in linux, writing a file in a directory 
updates
this directory's timestamp. So, the directory was always more recent than the .o
files,  and everytime 'make' checked, all .o files appeared outdated.

Original comment by yrizoud on 25 Oct 2008 at 1:48

  • Changed state: Started

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
It also happened on AmigaOS, so i'll checkout the latest version and see if its 
fixed
it there too.

Original comment by [email protected] on 25 Oct 2008 at 1:53

from grafx2.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Ok, fixed in linux :)

Original comment by [email protected] on 27 Oct 2008 at 8:34

  • Changed state: Fixed

from grafx2.

Related Issues (20)

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.